syntax fix

This commit is contained in:
Carol Knieriem 2020-01-08 11:41:57 -05:00
parent 8a0fbf7f6c
commit cf166a8ef8
No known key found for this signature in database
GPG key ID: 932EC6A6BAEE122B

View file

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