Improved config options, added stayalive code from biGGer
This commit is contained in:
parent
d5fd951a39
commit
dd0cec62bc
3 changed files with 13 additions and 3 deletions
|
@ -143,7 +143,7 @@ def match_command(command):
|
|||
|
||||
def main(conn, out):
|
||||
inp = Input(conn, *out)
|
||||
commandprefix = bot.config['prefix']
|
||||
commandprefix = conn.conf.get('command_prefix')
|
||||
|
||||
# EVENTS
|
||||
for func, args in bot.events[inp.command] + bot.events['*']:
|
||||
|
|
Reference in a new issue