fuck
This commit is contained in:
parent
c1b837b38c
commit
72c9ef2173
1 changed files with 0 additions and 1 deletions
|
@ -92,7 +92,6 @@ async function isBotManager(message: Message) {
|
||||||
}
|
}
|
||||||
async function checkSudoPermission(message: Message): Promise<boolean> {
|
async function checkSudoPermission(message: Message): Promise<boolean> {
|
||||||
const hasPerm = isSudo(message.author!);
|
const hasPerm = isSudo(message.author!);
|
||||||
console.log(hasPerm)
|
|
||||||
if (!hasPerm) return false;
|
if (!hasPerm) return false;
|
||||||
else {
|
else {
|
||||||
await message.reply(`# :unlock: Bypassed permission check\n`
|
await message.reply(`# :unlock: Bypassed permission check\n`
|
||||||
|
|
Loading…
Reference in a new issue