WaifuHarem / discord-bot

Discord bot that uses OCR to capture data in results screens
0 stars 0 forks source link

Support addition and removal of specific roles #1

Open Lightseypoo opened 4 years ago

Lightseypoo commented 4 years ago

AddRole [role] RemRole [role]

freely assigned roles: [dev, nsfw, speed main, accuracy main, stamina main, osu!mania, Etterna, FFR, Robeats, Quaver]

One important piece of bot logic to note is that only one of [osu!mania, etterna, ffr, robeats, quaver] can be active at one time. so if a user with the quaver role sets the role etterna, the quaver role would also need to be removed.

This can exist front-end only.

abraker95 commented 4 years ago

I think description is missing user to give/remove the role to

Lightseypoo commented 4 years ago

I think description is missing user to give/remove the role to

no, sorry. I should have clarified better. this is not an administrative command, any user can use this. i also edited the main post to include game roles

abraker95 commented 4 years ago

Command syntax >>addrole [required:role]

Usage example >>addrole -role accuracy main, stamina main

Description: Adds roles to user who used the command

arg1: role

abraker95 commented 4 years ago

Command syntax >>rmvrole [required:role]

Usage example >>rmvrole -role accuracy main, stamina main

Description: Removes roles from user who used the command

arg1: role