mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
Test
This commit is contained in:
parent
48ec456aca
commit
2997c2ef94
@ -185,7 +185,8 @@ def bot_command_nick(bot, trigger):
|
|||||||
elif fulltrigger.lower().startswith("can you see"):
|
elif fulltrigger.lower().startswith("can you see"):
|
||||||
target = spicemanip.main(triggerargs, "4+") or None
|
target = spicemanip.main(triggerargs, "4+") or None
|
||||||
if not target:
|
if not target:
|
||||||
target = 'me'
|
bot.osd(trigger.nick + ", I can see clearly.")
|
||||||
|
return
|
||||||
if target in [trigger.nick, 'me']:
|
if target in [trigger.nick, 'me']:
|
||||||
bot.osd(trigger.nick + ", I can see you.")
|
bot.osd(trigger.nick + ", I can see you.")
|
||||||
else:
|
else:
|
||||||
@ -200,7 +201,7 @@ def bot_command_nick(bot, trigger):
|
|||||||
# TODO
|
# TODO
|
||||||
return
|
return
|
||||||
|
|
||||||
if not inlist(bot, triggercommand, bot.memory['SpiceBot_CommandsQuery']['commands']["nickname"].keys()):
|
else:
|
||||||
|
|
||||||
closestmatches = similar_list(bot, triggercommand, bot.memory['SpiceBot_CommandsQuery']['commands']["nickname"].keys(), 3, 'reverse')
|
closestmatches = similar_list(bot, triggercommand, bot.memory['SpiceBot_CommandsQuery']['commands']["nickname"].keys(), 3, 'reverse')
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user