mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
fix
This commit is contained in:
parent
06f0f12716
commit
66b4807d5c
@ -545,12 +545,12 @@ def trigger_hyphen_arg_handler(bot, trigger, botcom):
|
|||||||
directionword = "remove"
|
directionword = "remove"
|
||||||
if not botcom.dict["dict"][botcom.dict["responsekey"]]["updates_enabled"]:
|
if not botcom.dict["dict"][botcom.dict["responsekey"]]["updates_enabled"]:
|
||||||
botmessagelog.messagelog_error(botcom.dict["log_id"], "The " + str(botcom.dict["realcom"]) + " " + str(botcom.dict["responsekey"] or '') + " entry list cannot be updated.")
|
botmessagelog.messagelog_error(botcom.dict["log_id"], "The " + str(botcom.dict["realcom"]) + " " + str(botcom.dict["responsekey"] or '') + " entry list cannot be updated.")
|
||||||
return True
|
return False
|
||||||
|
|
||||||
fulltext = spicemanip(botcom.dict['args'], 0)
|
fulltext = spicemanip(botcom.dict['args'], 0)
|
||||||
if not fulltext:
|
if not fulltext:
|
||||||
botmessagelog.messagelog(botcom.dict["log_id"], "What would you like to " + directionword + " from the " + str(botcom.dict["realcom"]) + " " + str(botcom.dict["responsekey"] or '') + " entry list?")
|
botmessagelog.messagelog_error(botcom.dict["log_id"], "What would you like to " + directionword + " from the " + str(botcom.dict["realcom"]) + " " + str(botcom.dict["responsekey"] or '') + " entry list?")
|
||||||
return True
|
return False
|
||||||
|
|
||||||
elif botcom.dict["hyphen_arg"] in [
|
elif botcom.dict["hyphen_arg"] in [
|
||||||
'enable', 'disable',
|
'enable', 'disable',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user