discord.py get id member code example
Example 1: discord py get user by id
user = bot.get_user(user_id)
Example 2: 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)