python discord get channels guild code example Example 1: get guild from a channel discord py channel.guild Example 2: discord py get all channels in guild guild.text_channels