How to get the ID of a given voice channel? - Discord.py

前端 未结 0 1557
半阙折子戏
半阙折子戏 2020-11-29 17:34

I have the following line of code, it is meant to take in a channel and give the id of it.

channel = discord.utils.get(message.guild.channels, name=\'general\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题