#Sending a message to another channel
1 messages · Page 1 of 1 (latest)
You must get or fetch the channel directly and then call the appropriate method. Example:
# If Bot.get_channel returns None because the channel is not in the Bot's cache,
# make an API call to fetch the channel
channel = bot.get_channel(12324234183172) or await bot.fetch_channel(12324234183172)
await channel.send("hello")
Last updated
The answer in Disnake RU