mirror of
https://github.com/mightyBroccoli/xmpp-chatbot.git
synced 2024-12-04 14:23:36 +01:00
IndexError fix
* prevent IndexError when help is called
This commit is contained in:
parent
294a728b0f
commit
83e5b1f0aa
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -120,6 +120,7 @@ class QueryBot(slixmpp.ClientXMPP):
|
|||
|
||||
if keyword == '!help':
|
||||
reply.append(StaticAnswers().gen_help())
|
||||
continue
|
||||
|
||||
try:
|
||||
target = words[index + 1]
|
||||
|
|
Loading…
Reference in a new issue