mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
more
This commit is contained in:
parent
a6f20745f9
commit
39d2b179b2
@ -211,11 +211,18 @@ def trigger_hyphen_arg_handler(bot, trigger):
|
|||||||
|
|
||||||
# Commands that cannot run via privmsg
|
# Commands that cannot run via privmsg
|
||||||
if trigger.sb["hyphen_arg"] in ['check']:
|
if trigger.sb["hyphen_arg"] in ['check']:
|
||||||
if trigger.sb["com"].lower() != trigger.sb["realcom"]:
|
if trigger.sb["type"] == 'nickname':
|
||||||
botmessagelog.messagelog(trigger.sb["log_id"], trigger.sb["com"] + " is a valid alias command for " + trigger.sb["realcom"])
|
if trigger.sb["com"].lower() != trigger.sb["realcom"]:
|
||||||
|
botmessagelog.messagelog(trigger.sb["log_id"], trigger.sb["com"] + " is a valid alias command for " + bot.nick + " " + trigger.sb["realcom"])
|
||||||
|
else:
|
||||||
|
botmessagelog.messagelog(trigger.sb["log_id"], bot.nick + " " + trigger.sb["com"] + " is a valid command")
|
||||||
else:
|
else:
|
||||||
botmessagelog.messagelog(trigger.sb["log_id"], trigger.sb["com"] + " is a valid command")
|
if trigger.sb["com"].lower() != trigger.sb["realcom"]:
|
||||||
|
botmessagelog.messagelog(trigger.sb["log_id"], trigger.sb["com"] + " is a valid alias command for " + trigger.sb["realcom"])
|
||||||
|
else:
|
||||||
|
botmessagelog.messagelog(trigger.sb["log_id"], trigger.sb["com"] + " is a valid command")
|
||||||
return
|
return
|
||||||
|
|
||||||
elif trigger.sb["hyphen_arg"] in [
|
elif trigger.sb["hyphen_arg"] in [
|
||||||
'enable', 'disable',
|
'enable', 'disable',
|
||||||
'block', 'unblock',
|
'block', 'unblock',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user