mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 修正identity_detail的引用以确保正确处理身份细节
parent
51af1ef4ce
commit
be6699340a
|
|
@ -102,7 +102,7 @@ class Identity:
|
|||
random.shuffle(identity_detail)
|
||||
prompt_identity += identity_detail[0]
|
||||
elif level == 2:
|
||||
for detail in identity_detail:
|
||||
for detail in self.identity_detail:
|
||||
prompt_identity += f",{detail}"
|
||||
prompt_identity += "。"
|
||||
return prompt_identity
|
||||
|
|
|
|||
Loading…
Reference in New Issue