This commit is contained in:
deathbybandaid 2019-06-02 20:12:23 -04:00
parent 112c2d1f43
commit 92a8159a1a

View File

@ -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):