Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Thinjon100 opened this issue Apr 7, 2021 · 1 comment
Open

Comments

@Thinjon100
Copy link
Collaborator

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant