chore: Update JavaScript plugins (#73)

chore: update JavaScript plugins

Co-authored-by: jacoobes <jacoobes@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-02-14 21:15:59 +05:30
committed by GitHub
parent 1752f35074
commit 86507ef110
2 changed files with 2 additions and 7 deletions

View File

@@ -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();
}
});
}