zmoin / slapBot

a bot that slaps people on discord
1 stars 1 forks source link

Add more users to the whitelist/blacklist #4

Closed Xulai closed 5 years ago

Xulai commented 5 years ago

As an exploration of use of the whitelist/blacklist. Add more ids to them so that we can better moderate command use.

zmoin commented 5 years ago

@Xulai do you have any suggestions to what we can do? What do you mean by "better moderate command use"? Can that not be used by permissions?

Xulai commented 5 years ago

It can be used by permissions. You could replace the black and white lists by permissions completely. Probably next step is maybe using a file/json based db adapter package to update permissions on the fly via commands.

See lowdb I had it added to the package json

zmoin commented 5 years ago

@Xulai I think I have a better understanding now, we could probably have a command to add users for different whitelists for different command. I wonder if it's going to be too much work to actually link up a db ?