mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 22:49:53 -05:00
bot remove
This commit is contained in:
parent
8e314f2aed
commit
de21eb9367
@ -43,7 +43,7 @@ def bot_command_rule(bot, trigger):
|
|||||||
if returnmessage:
|
if returnmessage:
|
||||||
bot.osd(str(returnmessage))
|
bot.osd(str(returnmessage))
|
||||||
else:
|
else:
|
||||||
closestmatches = SpiceBot.similar_list(bot, trigger_command, SpiceBot.commands.dict['commands']["nickname"].keys(), 3, 'reverse')
|
closestmatches = SpiceBot.similar_list(trigger_command, SpiceBot.commands.dict['commands']["nickname"].keys(), 3, 'reverse')
|
||||||
if len(closestmatches):
|
if len(closestmatches):
|
||||||
closestmatches = spicemanip.main(closestmatches, "andlist")
|
closestmatches = spicemanip.main(closestmatches, "andlist")
|
||||||
bot.osd("I don't know what you are asking me to do! Did you mean: " + str(closestmatches) + "?")
|
bot.osd("I don't know what you are asking me to do! Did you mean: " + str(closestmatches) + "?")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user