[Feature Request] Guild Policies
auguwu opened this issue · comments
Noel Towa commented
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": "..."
}
}
}