Finally, fetch_guild is an async function which means you need to await it. Here is some example code: from discord import Forbidden @client.command () async def get_channels (ctx, id): try: guild = await client.get_guild (id) except Forbidden: await ctx.send ("I do not have access to that guild or it doesn't exist.") else: for channel in guild
I have to rename everyone on my pretty big guild back to their normal names. I have a message on which most of them set their reaction and I go through all of the reactions getting the user - author of each, Can I somehow get the member of each person by knowing their discord user? I restart my bot often and it doesnt have anyone cached. Code:Selecting a role does two things in the permissions menu: 1. First, denies the @everyone role the "read messages" permission to this new channel, making it inaccessible and invisible to them. 2. Also, specifically adds an exception for the role (s) selected.