nixnest / scepter

Spiritual successor to Nixbot
https://discord.gg/g3gD5xd
MIT License
6 stars 5 forks source link

Roles Module #66

Open anna328p opened 4 years ago

anna328p commented 4 years ago

Brainstorming area for now.

Admin

role list

role self enable Anime # Possibly in config

role give Muted @snug#0001
role give Muted @snug#0001 1w1d
role remove Muted @snug#0001

User

role self list

role self get Anime
role self get Anime 1w1d
role self remove Anime

Aliases (possibly in config)

alias mute="role give Muted"
alias unmute="role remove Muted"

alias litemute="role give lite-muted"
alias unlitemute="role remove lite-muted"

mute @snug#0001
unmute @snug#0001

litemute @bitmapper#7863
unlitemute @bitmapper#7863 

Notes

ldelelis commented 4 years ago

I'd keep the "roles" module for aesthetic/low functionality roles, considering mutes has a certain amount of logic behind it, as to avoid having such a bloated module.

anna328p commented 4 years ago

some other notes:

kayew commented 4 years ago

For self-roles, including a self-ping seems unnecessary. Most bots just have you do role <role name> and it'll be assigned to the person that ran the command.

anna328p commented 4 years ago

For self-roles, including a self-ping seems unnecessary. Most bots just have you do role <role name> and it'll be assigned to the person that ran the command.

In the original post, I had some examples of how self-roles would work:

role self list

role self get Anime
role self get Anime 1w1d
role self remove Anime
kayew commented 4 years ago

I had some examples of how self-roles would work

Yeah, this seems like the best way to assign roles. I didn't see this.