Pick a random user or a user with a specified role.


Output is user ID.


I suggest using it along with nestedcommands and scheduler.

[p] is your prefix, <> is a required argument, [] is an optional argument.

Setting up

If you do not wish to have your picked member to have a certain role, you don’t need to set anything up! Otherwise, run

[p]pickrole <role>

to set the role.

List of commands

[p]pick - Pick a random user.

[p]pickrole <role> - Set a role winners should have. <role> can be a name, a mention or an ID.

[p]rpick - Pick a random user with specified role.