Answer the question
In order to leave comments, you need to log in
How to insert the id of the server on which the command is written in the discord bot?
import discord
from discord.ext import commands
import asyncio
Bot = commands.Bot(command_prefix='=') #префикс
token = '??'# токен
id = айди_сервера_на_котором_выполнена_команда # ID сервера
id =
id of the server where the command is written automatically displayed?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question