Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

[Feature Request] Guild Policies #831

Open
Tracked by #772
auguwu opened this issue Sep 20, 2021 · 0 comments
Open
Tracked by #772

[Feature Request] Guild Policies #831

auguwu opened this issue Sep 20, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed indev Issue/PR is currently in development question Further information is requested wip This isssue is being worked on

Comments

@auguwu
Copy link
Member

auguwu commented Sep 20, 2021

What is a "guild policy?" - A guild policy is a way to include a subset of rules Nino can act on when a certain event has been emitted.

How would it work?

Guild policies will be placed in the guild_policies database table as the following structure:

{
  "guild_id": "...",
  "events": ["GUILD_MEMBER_ADD"],
  "do": {
     "type": "message_send",
     "data": {
         "channel_id": "...",
         "content": "..."
      }
  }
}
@auguwu auguwu added the enhancement New feature or request label Sep 20, 2021
@auguwu auguwu self-assigned this Sep 20, 2021
@auguwu auguwu added help wanted Extra attention is needed indev Issue/PR is currently in development question Further information is requested wip This isssue is being worked on labels Sep 20, 2021
@auguwu auguwu mentioned this issue Sep 21, 2021
15 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed indev Issue/PR is currently in development question Further information is requested wip This isssue is being worked on
Projects
None yet
Development

No branches or pull requests

1 participant