^^
Yes, this question is very, very weird. I know that IDE is not recommended / prohibited to be used in this way too, but I'm asking because I'm deeply curious :3
Here is my code:
from discord.ext import commands
import asyncio
from async_timeout import timeout
bot = commands.Bot(command_prefix = "::", description = "Hey you")
@bot.event
async def on_ready():
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.playing, name="Hey!"))
print("Have fun!")
async def salondethe():
channel = bot.get_channel(123456789101112131)
await guild.channel.send('test')
bot.run("token")
And I would like to send salondethe()
in the IDE to send a message in the channel 123456789101112131
Do you know a way? ^^
Thanks for the curious I am ^^