client.get_guild(guild_id)
guild.text_channels
intents = discord.Intents.default() intents.members = True client = discord.Client(intents=intents)
channel.guild