Merge pull request #2 from mightyBroccoli/dev

IndexError fix
This commit is contained in:
nico 2018-10-02 00:33:03 +02:00 committed by GitHub
commit 918d270eeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,6 +120,7 @@ class QueryBot(slixmpp.ClientXMPP):
if keyword == '!help': if keyword == '!help':
reply.append(StaticAnswers().gen_help()) reply.append(StaticAnswers().gen_help())
continue
try: try:
target = words[index + 1] target = words[index + 1]