From 2895d89fdb9b92bfd4f7d7a8be868f6e5ae74d21 Mon Sep 17 00:00:00 2001 From: hanhan258 <96119846+hanhan258@users.noreply.github.com> Date: Fri, 14 Apr 2023 21:45:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E5=88=AB=E5=AD=97?= =?UTF-8?q?=20(#353)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ikechan8370 --- apps/management.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/management.js b/apps/management.js index 6c0bcd3..3bfd2fb 100644 --- a/apps/management.js +++ b/apps/management.js @@ -936,7 +936,7 @@ export class ChatgptManagement extends plugin { async setAdminPassword (e) { if (e.isGroup || !e.isPrivate) { - await this.reply('请私聊发生命令', true) + await this.reply('请私聊发送命令', true) return true } this.setContext('saveAdminPassword') @@ -946,7 +946,7 @@ export class ChatgptManagement extends plugin { async setUserPassword (e) { if (e.isGroup || !e.isPrivate) { - await this.reply('请私聊发生命令', true) + await this.reply('请私聊发送命令', true) return true } this.setContext('saveUserPassword') @@ -1000,7 +1000,7 @@ export class ChatgptManagement extends plugin { async adminPage (e) { if (!Config.groupAdminPage && (e.isGroup || e.isPrivate)) { - await this.reply('请私聊发生命令', true) + await this.reply('请私聊发送命令', true) return true } const viewHost = Config.serverHost ? `http://${Config.serverHost}/` : `http://${await getPublicIP()}:${Config.serverPort || 3321}/` @@ -1009,7 +1009,7 @@ export class ChatgptManagement extends plugin { async userPage (e) { if (!Config.groupAdminPage && (e.isGroup || e.isPrivate)) { - await this.reply('请私聊发生命令', true) + await this.reply('请私聊发送命令', true) return true } const viewHost = Config.serverHost ? `http://${Config.serverHost}/` : `http://${await getPublicIP()}:${Config.serverPort || 3321}/`