Virtue-Vikings / discord-bot

A discord bot for managing SAA tasks.
0 stars 0 forks source link

Role management #3

Open saa-derek opened 4 years ago

saa-derek commented 4 years ago

I'd prefer a way to assign roles to users than through what discord provides. This could be configured via config commands.

Assigning roles

!role add <username> <role>

Unassigning roles

!role remove <username> <role>

Setting permissions on roles

!role mod <lower-role> <upper-role>

This would work like a permissions system allowing a role like @admin or @everyone to add or remove the role. Mod commands probably should be restricted to admin.

!role unmod <lower-role> <upper-role>

Additional thoughts

I could maybe allow role creation, deletion, or updating role colors.