Answers for "discord py get role 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

Python Answers by Framework

Browse Popular Code Answers by Language