NinoDiscord / Nino

🔨 仁野 — Cute, advanced discord moderation bot made in Kord. Make your server cute and automated with utilities for you and your server moderators! ☆ ~('▽^人)

Home Page:https://nino.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Guild Policies

auguwu opened this issue · comments

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": "..."
      }
  }
}