add developer override back

This commit is contained in:
Lio Young 2021-07-02 14:16:13 +02:00
parent d0dd42d94a
commit d8dbb6eba2
No known key found for this signature in database
GPG Key ID: 789795A11879E169
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ export = {
isDeveloper: config.variables.developers.find(dev => dev.id === message.author.id)
}
// ! Override Command Restrictions if Message Author is on list of Developers
// if (ctx.isDeveloper) cmd.AuthorPermissions = "NONE"
if (ctx.isDeveloper) cmd.AuthorPermissions = "NONE"
// ! If Command is NSFW and channel is not marked as such, return
if (cmd.nsfw && !ctx.channel.nsfw) return ctx.channel.send(