mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
538466d122
commit
4fb4e70105
@ -181,7 +181,7 @@ class SpiceBot_AI():
|
|||||||
for pronounitem in pronounsdict[botgendertype].keys():
|
for pronounitem in pronounsdict[botgendertype].keys():
|
||||||
aiml_response = aiml_response.replace("BOTPRONOUN" + pronounitem, pronounsdict[botgendertype][pronounitem])
|
aiml_response = aiml_response.replace("BOTPRONOUN" + pronounitem, pronounsdict[botgendertype][pronounitem])
|
||||||
triggergendertype = self.getPredicate("gender", trigger.nick)
|
triggergendertype = self.getPredicate("gender", trigger.nick)
|
||||||
if triggergendertype == "":
|
if not triggergendertype or triggergendertype == "":
|
||||||
triggergendertype = "point"
|
triggergendertype = "point"
|
||||||
for pronounitem in pronounsdict[triggergendertype].keys():
|
for pronounitem in pronounsdict[triggergendertype].keys():
|
||||||
aiml_response = aiml_response.replace("TRIGGERPRONOUN" + pronounitem, pronounsdict[triggergendertype][pronounitem])
|
aiml_response = aiml_response.replace("TRIGGERPRONOUN" + pronounitem, pronounsdict[triggergendertype][pronounitem])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user