📌  相关文章
📜  discord.py 按 id 查找频道 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:20.731000             🧑  作者: Mango

代码示例4
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}")