Hard fork of Zeppelin discord bot
Find a file
Dragory 55215dc382 Change the first migration's date to the repo's creation date
This isn't necessary, but since the migration was modified when this repo was created,
it makes more sense to also have it dated at this time.
2018-07-07 17:01:44 +03:00
migrations Change the first migration's date to the repo's creation date 2018-07-07 17:01:44 +03:00
src Use a model class for mod actions 2018-07-07 17:00:50 +03:00
.editorconfig Initial commit in new repository 2018-07-01 03:35:51 +03:00
.gitignore Various small fixes 2018-07-01 04:31:24 +03:00
knexfile.js Initial commit in new repository 2018-07-01 03:35:51 +03:00
nodemon.json Add npm script for watching changes. Clear obsolete dependencies. 2018-07-07 14:27:54 +03:00
package-lock.json Set moment default timezone to UTC 2018-07-07 15:39:56 +03:00
package.json Set moment default timezone to UTC 2018-07-07 15:39:56 +03:00
README.md Various small fixes 2018-07-01 04:31:24 +03:00
tsconfig.json Initial commit in new repository 2018-07-01 03:35:51 +03:00
tslint.json Initial commit in new repository 2018-07-01 03:35:51 +03: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']