Sirush / UDHBot

MIT License
0 stars 0 forks source link

(Old) Reaction Based Role system #92

Closed SimplyJpk closed 4 years ago

SimplyJpk commented 5 years ago

A simple reaction based role system.

I've made it as simple as I could think to setup, all we/you need to do is add emoji to the server for each role we want this to support and then add the ID of the emoji to 'ReactionRoles.json'

I recommend naming them related to the role to reduce confusion as much as possible.

Pretty simplistic management here, I have no idea how discords rate-limits will dislike this is someone spammed, it could be reduced a little bit, by logging changes and adding the roles every other second. But 🤷‍♂ , I can add that later, should that be a problem.

I have tested this and it works about as expected on my test server, the setup is a bit fiddly but I have tried to setup 'settings/ReactionRoles.json' as much as I could, just need to add emote ids and create a few messages for it to work on and move it to the runtime settings folder.

Pierre-Demessence commented 4 years ago

Should be closed in favor of #103