syntax fix
This commit is contained in:
parent
8a0fbf7f6c
commit
cf166a8ef8
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ module.exports = async (client, message) => {
|
||||||
if (level < client.levelCache[cmd.conf.permLevel]) {
|
if (level < client.levelCache[cmd.conf.permLevel]) {
|
||||||
if (settings.systemNotice === "true") {
|
if (settings.systemNotice === "true") {
|
||||||
message.delete();
|
message.delete();
|
||||||
return message.channel.send({embed: client.embed("**Invalid permissions!**"),`You don't have the proper user level to use command ${cmd.help.name}.`, [
|
return message.channel.send({embed: client.embed("**Invalid permissions!**",`You don't have the proper user level to use command ${cmd.help.name}.`, [
|
||||||
{
|
{
|
||||||
name: "**__Required permissions level:__**",
|
name: "**__Required permissions level:__**",
|
||||||
value: `**${client.levelCache[cmd.conf.permLevel]}** (${cmd.conf.permLevel})`
|
value: `**${client.levelCache[cmd.conf.permLevel]}** (${cmd.conf.permLevel})`
|
||||||
|
|
Loading…
Reference in a new issue