Answers for "discord.py get member roles by id"

7

discord py get user by id

user = bot.get_user(user_id)
Posted by: Guest on May-21-2020
0

discordpy get role by id

from discord.utils import get

role_id = 123
role = get(guild.roles, id=role_id)
Posted by: Guest on November-15-2020

Code answers related to "discord.py get member roles by id"

Python Answers by Framework

Browse Popular Code Answers by Language