mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 06:29:54 -05:00
test
This commit is contained in:
parent
112c2d1f43
commit
92a8159a1a
@ -98,13 +98,13 @@ class SpiceBot_AI():
|
||||
return aiml_response
|
||||
|
||||
def bot_message_precipher(self, bot, message):
|
||||
while bot.nick in message:
|
||||
message.replace(bot.nick, "bot.nick")
|
||||
# while bot.nick in message:
|
||||
# message.replace(bot.nick, "bot.nick")
|
||||
return message
|
||||
|
||||
def bot_message_decipher(self, bot, aiml_response):
|
||||
while "bot.nick" in aiml_response:
|
||||
aiml_response.replace("bot.nick", bot.nick)
|
||||
# while "bot.nick" in aiml_response:
|
||||
# aiml_response.replace("bot.nick", bot.nick)
|
||||
return aiml_response
|
||||
|
||||
def check_user_import(self, nick, nick_id=None):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user