fetch member discord.py code example
Example 1: discord py get user by id
user = bot.get_user(user_id)
Example 2: discord py server.channels
# Returns a list of all channels from all guilds( as channel IDs )
bot.get_all_channels()
user = bot.get_user(user_id)
# Returns a list of all channels from all guilds( as channel IDs )
bot.get_all_channels()