📌  相关文章
📜  discord.py 按名称查找语音通道 - Python 代码示例

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

代码示例1
channel = discord.utils.find(lambda c: c.name == 'some name' and c.type == 'voice', some_list_of_channels)
if channel is not None:
    print(channel.id)