Answer the question
In order to leave comments, you need to log in
Discord.py How to output a message to a channel with a specific ID?
The bottom line is this: There is a message (Included in a variable), and there is an ID of the Discord channel where you want to send this message. How it is possible to output the given message to the channel with this ID?
Answer the question
In order to leave comments, you need to log in
Bot = commands.Bot(command_prefix= '!')
...
...
@Bot.event
async def <тип события>():
channel = Bot.get_channel(id)
await channel.send(переменная с вашим сообщением)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question