flag for bot
This commit is contained in:
@@ -28,6 +28,8 @@ monkey.patch_all()
|
|||||||
from .compiler import start_workers
|
from .compiler import start_workers
|
||||||
#start_workers(1,1,1)
|
#start_workers(1,1,1)
|
||||||
|
|
||||||
|
|
||||||
|
if cfg.bot_active:
|
||||||
from src.bot import bot
|
from src.bot import bot
|
||||||
#if not app.debug or os.environ.get("WERKZEUG_RUN_MAIN") == "true":
|
#if not app.debug or os.environ.get("WERKZEUG_RUN_MAIN") == "true":
|
||||||
bot.message_loop()
|
bot.message_loop()
|
||||||
|
|||||||
Reference in New Issue
Block a user