mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-01-26 18:12:47 +08:00
🐛 修复AI调用名的格式,将点替换为下划线
This commit is contained in:
parent
9cca629b87
commit
8b5a57d223
@ -233,7 +233,7 @@ class Caller:
|
||||
@property
|
||||
def aifc_name(self) -> str:
|
||||
"""AI调用名,没有点"""
|
||||
return self._name.replace(".", "-")
|
||||
return self.full_name.replace(".", "_")
|
||||
|
||||
@property
|
||||
def full_name(self) -> str:
|
||||
|
Loading…
x
Reference in New Issue
Block a user