📌  相关文章
📜  discord.py 从 id 获取频道名称 - Python 代码示例

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

代码示例3
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.name}")