get guild id and name discord .py code example Example: discord.py get guild member list guild = client.get_guild(ID) memberList = guild.members