修改错别字 (#353)

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
This commit is contained in:
hanhan258 2023-04-14 21:45:17 +08:00 committed by GitHub
parent 414eb1b098
commit 2895d89fdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}/`