G
G
Gleb Odinokov2020-12-14 13:26:45
Python
Gleb Odinokov, 2020-12-14 13:26:45

How to assign a role to a server member?

It is necessary to issue a role to the user () 5fd73dd58890b553394769.png
here is the problem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AS1 -, 2020-12-17
@UFOS228

role = ctx.guild.get_role(id) #id роли 
await ctx.author.add_roles(role, reason="Причина в аудите")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question