sur le message discorde py
@bot.event
async def on_message(message):
if message.content == "pong":
await message.channel.send('ping')
Funny Falcon
@bot.event
async def on_message(message):
if message.content == "pong":
await message.channel.send('ping')
channel = discord.utils.get(ctx.guild.channels, name=given_name)
channel_id = channel.id
await client.fetch_channel(channelId)
channel.guild