Answers for "discord.py find voice channel by name"

0

discord.py find voice channel by name

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)
Posted by: Guest on January-22-2020

Code answers related to "discord.py find voice channel by name"

Python Answers by Framework

Browse Popular Code Answers by Language