mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +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>}
|
* @returns {Promise<boolean>}
|
||||||
*/
|
*/
|
||||||
async rconsoleUpdate(e) {
|
async rconsoleUpdate(e) {
|
||||||
if (!this.e.isMaster) {
|
if (!e.isMaster) {
|
||||||
await this.e.reply("您无权操作");
|
await e.reply("您无权操作");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
let isForce = !!this.e.msg.includes("强制");
|
let isForce = !!e.msg.includes("强制");
|
||||||
|
|
||||||
const pluginName = "rconsole-plugin";
|
const pluginName = "rconsole-plugin";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user