1
1
1nqi2022-03-12 22:32:21
Python
1nqi, 2022-03-12 22:32:21

How to make it so that when entering a command, all members of the role are written. discord.py?

For example, a user writes the command /team @blue and the bot should send him a list of users who have this role, how can this be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2022-03-12
@1nqi

Have you read the documentation ? The necessary information is there.
As for setting the role, you specify the type of the discord.Role command parameter, and 90% of the job is done.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question