mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 14:10:58 -05:00
test
This commit is contained in:
parent
213610cea8
commit
1b7e314199
@ -34,3 +34,5 @@ class SpiceBot_AI():
|
||||
|
||||
def on_message(self, message):
|
||||
return self.aiml_kernel.respond(message.content)
|
||||
|
||||
botai = SpiceBot_AI()
|
||||
|
||||
@ -19,4 +19,4 @@ def bot_command_nick(bot, trigger):
|
||||
if str(trigger.args[1]).startswith((".", '?', '!')) or str(trigger.args[1]).lower().startswith(bot.nick.lower()):
|
||||
return
|
||||
|
||||
bot.osd(str(SpiceBot.AI.on_message(str(trigger.args[1]))))
|
||||
bot.osd(str(SpiceBot.botai.on_message(str(trigger.args[1]))))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user