mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 14:10:58 -05:00
silver text for AI matches
This commit is contained in:
parent
1fde43d79c
commit
538466d122
@ -112,7 +112,8 @@ class SpiceBot_AI():
|
||||
|
||||
message = self.bot_message_precipher(bot, trigger, message)
|
||||
aiml_response = self.aiml_kernel.respond(message, nick_id)
|
||||
aiml_response = self.bot_message_decipher(bot, trigger, aiml_response)
|
||||
if aiml_response:
|
||||
aiml_response = self.bot_message_decipher(bot, trigger, aiml_response)
|
||||
|
||||
self.save_nick_session(nick, nick_id)
|
||||
self.save_brain()
|
||||
@ -185,6 +186,8 @@ class SpiceBot_AI():
|
||||
for pronounitem in pronounsdict[triggergendertype].keys():
|
||||
aiml_response = aiml_response.replace("TRIGGERPRONOUN" + pronounitem, pronounsdict[triggergendertype][pronounitem])
|
||||
|
||||
aiml_response = "\x0315" + aiml_response + "\x03"
|
||||
|
||||
return aiml_response
|
||||
|
||||
def getPredicate(self, predicate, nick, nick_id=None):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user