This commit is contained in:
janderedev 2022-01-13 22:56:49 +01:00
parent c1b837b38c
commit 72c9ef2173
Signed by: Lea
GPG key ID: 5D5E18ACB990F57A

View file

@ -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`