I\'m making a Discord bot but just ran into a problem.
I want to modify a role. A specific role. I know how to do that with edit_role, but I need to get
edit_role
You can use discord.utils.get to loop through Guild.roles and get the one you're looking for:
Guild.roles
from discord.utils import get role_id = 123 role = get(guild.roles, id=role_id)