mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🐞 fix: #R插件更新修复
This commit is contained in:
parent
6d16fc2629
commit
4c8b189406
@ -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";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user