mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-12-05 15:41:56 +00:00
fix(ai): 修正配置项中昵称属性名错误
This commit is contained in:
parent
7629e7134e
commit
4fffa2d6cf
@ -172,7 +172,7 @@ class ResponseHandler {
|
||||
}
|
||||
|
||||
createErrorResponse(error) {
|
||||
const nickname = ConfigControl.get('profile')?.nickname;
|
||||
const nickname = ConfigControl.get('profile')?.nickName;
|
||||
return [{
|
||||
type: 'message',
|
||||
data: `${nickname | '奇妙'}的服务器去火星开小差了..`,
|
||||
@ -183,7 +183,7 @@ class ResponseHandler {
|
||||
}
|
||||
|
||||
createDefaultResponse() {
|
||||
const nickname = ConfigControl.get('profile')?.nickname;
|
||||
const nickname = ConfigControl.get('profile')?.nickName;
|
||||
return [{
|
||||
type: 'message',
|
||||
data: `${nickname|'奇妙'}的服务器去火星开小差了..`,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user