mirror of
https://github.com/sern-handler/awesome-plugins
synced 2026-06-13 03:12:23 +00:00
chore: Update JavaScript plugins (#73)
chore: update JavaScript plugins Co-authored-by: jacoobes <jacoobes@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1752f35074
commit
86507ef110
@@ -27,6 +27,7 @@ function payload(resp) {
|
||||
allowedMentions: {
|
||||
repliedUser: false,
|
||||
},
|
||||
ephemeral: true,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -85,12 +86,6 @@ export function requirePermission(target, perm, response) {
|
||||
}
|
||||
|
||||
return controller.next();
|
||||
//*********************************************************************************************************************//
|
||||
|
||||
default:
|
||||
console.warn("Perm Check >>> You didn't specify user or bot.");
|
||||
ctx.reply(payload("User or Bot was not specified."));
|
||||
return controller.stop();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user