Insert a StatusAPI and a wrapper function to detect if Bot or Parts are disabled

Use a separate config file
This commit is contained in:
2016-02-22 14:25:18 +01:00
parent fe7eca1b8d
commit b79cf48a22
2 changed files with 183 additions and 49 deletions

View File

@@ -25,4 +25,4 @@
Scripts for our redundances bot
"""
# noqa needed to prevent pyflakes from warning about unused imports
from jogobot.jogobot import ( output, sendmail ) # noqa
from jogobot.jogobot import ( output, sendmail, is_active ) # noqa