mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-12-05 15:41:56 +00:00
fix(ai): fix typo
This commit is contained in:
parent
4fffa2d6cf
commit
9f2c0c3fd5
@ -1,5 +1,5 @@
|
|||||||
import MemorySystem from "./memorySystem.js";
|
import MemorySystem from "./memorySystem.js";
|
||||||
import ConfigControl from "../config/configControl.js";
|
import configControl from "../config/configControl.js";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 响应处理器
|
* 响应处理器
|
||||||
@ -172,10 +172,10 @@ class ResponseHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
createErrorResponse(error) {
|
createErrorResponse(error) {
|
||||||
const nickname = ConfigControl.get('profile')?.nickName;
|
const nickName = configControl.get('profile')?.nickName;
|
||||||
return [{
|
return [{
|
||||||
type: 'message',
|
type: 'message',
|
||||||
data: `${nickname | '奇妙'}的服务器去火星开小差了..`,
|
data: `${nickName | '奇妙'}的服务器去火星开小差了..`,
|
||||||
at: false,
|
at: false,
|
||||||
quote: true,
|
quote: true,
|
||||||
recall: 120
|
recall: 120
|
||||||
@ -183,10 +183,10 @@ class ResponseHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
createDefaultResponse() {
|
createDefaultResponse() {
|
||||||
const nickname = ConfigControl.get('profile')?.nickName;
|
const nickName = configControl.get('profile')?.nickName;
|
||||||
return [{
|
return [{
|
||||||
type: 'message',
|
type: 'message',
|
||||||
data: `${nickname|'奇妙'}的服务器去火星开小差了..`,
|
data: `${nickName|'奇妙'}的服务器去火星开小差了..`,
|
||||||
at: false,
|
at: false,
|
||||||
quote: true,
|
quote: true,
|
||||||
recall: 120
|
recall: 120
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user