Hard fork of Zeppelin discord bot
Find a file
2019-07-04 13:23:28 +03:00
dashboard Dashboard work and related 2019-06-23 19:18:41 +03:00
src Tags: allow access to the tag user's user/member data 2019-07-04 13:23:28 +03:00
.editorconfig Initial commit in new repository 2018-07-01 03:35:51 +03:00
.gitignore Initial dashboard work (auth flow) 2019-05-26 00:13:42 +03:00
.nvmrc Add .nvmrc 2019-05-04 11:02:49 +03: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-api.json Dashboard work. Move configs to DB. Some script reorganization. Add nodemon configs. 2019-06-22 18:52:24 +03:00
nodemon-bot.json Don't run migrations on start (must be run explicitly) 2019-05-25 21:23:09 +03:00
ormconfig.js ormconfig: fix slow cli commands; add db timeout 2018-12-15 16:29:38 +02:00
package-lock.json Add seed param to rand() template fn 2019-07-04 13:13:10 +03:00
package.json Add seed param to rand() template fn 2019-07-04 13:13:10 +03:00
process.json Initial dashboard work (auth flow) 2019-05-26 00:13:42 +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 Initial dashboard work (auth flow) 2019-05-26 00:13:42 +03:00
update.sh Load NVM in update script 2019-05-07 22:27:50 +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']