📅  最后修改于: 2022-03-11 14:45:20.156000             🧑  作者: Mango
channel_id = 747076221484924998 # must be an int and a valid channel id
channel = bot.get_channel(channel_id)
await ctx.send(f"The given channel is {channel.mention} with the id {channel.id}")