mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 18:55:28 +00:00
fuck
This commit is contained in:
parent
c1b837b38c
commit
72c9ef2173
|
@ -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