mirror of https://github.com/thaldrin/thaldrin.git
add developer override back
This commit is contained in:
parent
d0dd42d94a
commit
d8dbb6eba2
|
@ -81,7 +81,7 @@ export = {
|
||||||
isDeveloper: config.variables.developers.find(dev => dev.id === message.author.id)
|
isDeveloper: config.variables.developers.find(dev => dev.id === message.author.id)
|
||||||
}
|
}
|
||||||
// ! Override Command Restrictions if Message Author is on list of Developers
|
// ! 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 Command is NSFW and channel is not marked as such, return
|
||||||
if (cmd.nsfw && !ctx.channel.nsfw) return ctx.channel.send(
|
if (cmd.nsfw && !ctx.channel.nsfw) return ctx.channel.send(
|
||||||
|
|
Loading…
Reference in New Issue