diff --git a/apps/update.js b/apps/update.js index 23b476d..672fa0f 100644 --- a/apps/update.js +++ b/apps/update.js @@ -48,12 +48,12 @@ export class update extends plugin { * @returns {Promise} */ 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";