Answers for "how to get server id and channel id discord.py"

5

get channel from id discord.py

channel = client.get_channel(channel_id)
Posted by: Guest on June-11-2021
0

discord.py get channel id by channel name

channel_names = ['channel1', 'channel2', 'channel3']
for ch in channel_names:
    channel = discord.get.utils(server.channels, name=ch, type="ChannelType.voice")
    full(channel)
Posted by: Guest on June-07-2020

Code answers related to "how to get server id and channel id discord.py"

Python Answers by Framework

Browse Popular Code Answers by Language