Improvements to query and self event detection, implement all command and debug flags
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user