get guild id of server bot is in discord.py code example Example: get guild from a channel discord py channel.guild