Skip to content

Adding Roles to the Discord server #61

Open
@Djacon

Description

@Djacon

At the moment there is no variety of roles on the codewars server as such. Now on the server there are roles only for administration. I would like to add roles for all users, as it is done on the site.

A possible list of what we would need to do:

  • Create new roles on the server (8kyu -> 2dan, and higher if necessary)
  • Implement command /verify to verify the user on the server
  • Implement command /roleup to promote the role

Task description:

  1. Create roles with colors corresponding to their ranks
  2. It is assumed that in order to get a role on the server, the user will have to write the command /verify key: "your key" to the bot in private messages.
  3. It is also assumed that in the case of increasing the rank of the user, the user will have to write to the bot in private messages with the command /roleup.

Problems and possible solutions:

In the case of the /verify command, it would be necessary to provide the bot with a key identifying the user. I think we need to create an individual key generator in the user's account settings on the site.

In the future, in case the user's rank is increased, we need to check this event in some way. I think that in order for the bot not to check in real time the change of rank, we should simply add a command /roleup, which, using the previously obtained key, make a check of the user's account for its promotion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions