3
0
Fork 0
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.
Find a file
2019-04-19 12:26:17 +03:00
src Fix spam detection crash if a spam message is deleted before the spam filter applies 2019-04-19 12:26:17 +03:00
.editorconfig Initial commit in new repository 2018-07-01 03:35:51 +03:00
.gitignore Add build process for prod 2018-12-14 06:47:58 +02:00
.prettierrc prettier: enable dangling commas 2019-02-09 13:23:35 +02:00
babel.config.js Add jest 2019-03-16 15:40:48 +02:00
nodemon.json Add npm script for watching changes. Clear obsolete dependencies. 2018-07-07 14:27:54 +03:00
ormconfig.js ormconfig: fix slow cli commands; add db timeout 2018-12-15 16:29:38 +02:00
package-lock.json Work on better error messages for mod actions, allow muting users that are not on the server; WIP 2019-04-18 08:45:51 +03:00
package.json Work on better error messages for mod actions, allow muting users that are not on the server; WIP 2019-04-18 08:45:51 +03:00
README.md Various small fixes 2018-07-01 04:31:24 +03:00
tsconfig.json TS: use esnext as target/lib 2019-02-17 22:48:41 +02:00
tslint.json tslint: disable interface-over-type-literal 2019-02-15 05:08:25 +02:00

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']