🐞 fix: #R插件更新修复

This commit is contained in:
zhiyu1998 2023-02-15 15:06:37 +08:00
parent 6d16fc2629
commit 4c8b189406

View File

@ -48,12 +48,12 @@ export class update extends plugin {
* @returns {Promise<boolean>}
*/
async rconsoleUpdate(e) {
if (!this.e.isMaster) {
await this.e.reply("您无权操作");
if (!e.isMaster) {
await e.reply("您无权操作");
return true;
}
let isForce = !!this.e.msg.includes("强制");
let isForce = !!e.msg.includes("强制");
const pluginName = "rconsole-plugin";