mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
duh
This commit is contained in:
parent
1b7e314199
commit
4deb5a3fc3
@ -35,4 +35,5 @@ class SpiceBot_AI():
|
|||||||
def on_message(self, message):
|
def on_message(self, message):
|
||||||
return self.aiml_kernel.respond(message.content)
|
return self.aiml_kernel.respond(message.content)
|
||||||
|
|
||||||
|
|
||||||
botai = SpiceBot_AI()
|
botai = SpiceBot_AI()
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import sopel.module
|
|||||||
import sopel_modules.SpiceBot as SpiceBot
|
import sopel_modules.SpiceBot as SpiceBot
|
||||||
|
|
||||||
|
|
||||||
@sopel.module.nickname_commands('(.*)')
|
@sopel.module.rule('(.*)')
|
||||||
def bot_command_nick(bot, trigger):
|
def bot_command_nick(bot, trigger):
|
||||||
|
|
||||||
if trigger.nick == bot.nick:
|
if trigger.nick == bot.nick:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user