fossilz / falcobot

MIT License
0 stars 1 forks source link

Rules collections w/ optional reactions required to get a role #22

Open Thinjon100 opened 3 years ago

Thinjon100 commented 3 years ago

RuleCollection: Channel - where the rules should be posted AgreeEmoji - the reaction that will be wanted to "agree" AgreeRole - the role to assign if the rules are agreed upon MultiReact - whether multiple rules should be reacted to individually, or reactions should be on the last rule LastUpdated - timestamp of last update. RequiresPublish - Whether changes have been made that should rewrite the rules

RuleCollectionItem Index - allow us to sort rules, insert new ones somewhere other than the end ContentBlock - mark blocks of text that aren't rules, just extra text Content - message content

rc create #channel :emoji: @Role [multi] rc rc add rc content rc addbefore rc contentbefore rc update rd delete rc preview #channel rc publish

This would allow us to modify rules (#rules or #bst-read-me or really anywhere else we want to maintain a list) I would also program the bot to pre-react at the desired locations and remove user reactions once they've done them and it has tabulated.

Thinjon100 commented 3 years ago

Add property to RuleCollection : role required to update. Limit some collections to @admin, others to @Staff