Improvements to query and self event detection, implement all command and debug flags

This commit is contained in:
2019-08-15 21:20:49 +01:00
parent 1ec0e1f7e6
commit f34ddab6fc
13 changed files with 103 additions and 25 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env python
from twisted.internet import reactor
from twisted.internet.ssl import DefaultOpenSSLContextFactory
from sys import argv
#from twisted.python import log
#from sys import stdout
#log.startLogging(stdout)
@@ -8,7 +9,8 @@ from twisted.internet.ssl import DefaultOpenSSLContextFactory
import main
main.initMain()
if "--debug" in argv: # yes really
main.config["Debug"] = True
from utils.logging.log import *
from utils.loaders.command_loader import loadCommands
from core.helper import startBot