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 auto-update #401

Open
eeduplay opened this issue Feb 24, 2021 · 1 comment
Open

Rules auto-update #401

eeduplay opened this issue Feb 24, 2021 · 1 comment
Assignees

Comments

@eeduplay
Copy link
Contributor

Feature Description:

In an effort to be even lazier, the moderation team would like to have Marty automatically update the #rules channel when needed, instead of having a human manually delete/edit old messages. Rules would be written in a Markdown file living on a separate repository.

  1. Changes to the server rules will be done via pull request
  2. Approved request can either trigger Marty to update the channel, or can be triggered manually via bot command
  3. Ideally, Marty would split up the markdown source "nicely" across messages
  4. Marty overwrites the entire rules channel with the contents of the markdown source

Implementation Suggestion:

code monke magic idk i'm a mechanical monke

  • web? hooks?

Additional Context / Screenshots:

Yes

@eeduplay eeduplay self-assigned this Feb 24, 2021
@ValerianClerc
Copy link
Member

ValerianClerc commented Jul 28, 2021

Started playing with this on this branch

Currently have:

  • Command (?update_rules) for manually fetching the latest version of the rules from the github repo, and updating of #rules channel
  • Support for using @ for roles (#ROLE(role_name)) and referencing channels with # (#CHANNEL(channel_name))

Need to add:

  • Support for linking to images #IMAGE(raw github url)
  • Support for embeds
  • Webhook to watch for changes on github repo
    • OR Github Action to trigger on github change

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

No branches or pull requests

2 participants