mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Zeppelin is a moderation bot for Discord, designed with large servers and reliability in mind.
![]() The fact that cases *with* a reason were being posted was actually an unintended side effect of createCaseNote also posting the case after creating the note. Had the issue with the cases not being posted not existed, new cases with a reason would've been posted twice. This commit changes this so createCaseNote doesn't post the case when used from createCase, and fixes the actual case posting at the end of createCase. |
||
---|---|---|
src | ||
.editorconfig | ||
.gitignore | ||
.prettierrc | ||
nodemon.json | ||
ormconfig.js | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tslint.json |
Config format example
Config files are currently located at config/<guildId>.yml
(and config/global.yml
for global plugins).
levels:
50: "1234" # Mod role id
100: "5678" # Admin role id
plugins:
mod_plugin:
config:
kick_message: 'You have been kicked'
permissions:
kick: false
overrides:
- level: '>=50'
permissions:
kick: true
- level: '>=100'
config:
kick_message: 'You have been kicked by an admin'
spam:
config:
filter_words: ['heck']
overrides:
- channel: '1234'
config:
+filter_words: ['foo']
- level: '>=50'
config:
-filter_words: ['heck']