aboutsummaryrefslogtreecommitdiff
path: root/commands/kick.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2023-03-25 21:25:43 -0400
committerAndrew Lee <alee14498@protonmail.com>2023-03-25 21:27:41 -0400
commit1a7a627446edfeb270850f0ed15c9c8d604380b2 (patch)
tree8435e5323ce8a81976cafe297a6c730b4f0695da /commands/kick.js
parent85a8f11507c0fb74b67914090bdfe10c361b775e (diff)
downloadAleeBot-1a7a627446edfeb270850f0ed15c9c8d604380b2.tar.gz
AleeBot-1a7a627446edfeb270850f0ed15c9c8d604380b2.tar.bz2
AleeBot-1a7a627446edfeb270850f0ed15c9c8d604380b2.zip
Now using sequelize; Minor tweaks; New activities
Diffstat (limited to 'commands/kick.js')
-rw-r--r--commands/kick.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/kick.js b/commands/kick.js
index 1bf83db..c248afc 100644
--- a/commands/kick.js
+++ b/commands/kick.js
@@ -29,7 +29,7 @@ module.exports.run = async (client, message, args) => {
.setTitle('User Kicked!')
.setColor('#1fd619')
.addField('**User:**', `${member.user.tag}`)
- .addField('**Reason:**', `\`\`\`${mreason}\`\`\``);
+ if (mreason) return kickEmbed.addField('**Reason:**', `\`\`\`${mreason}\`\`\``);
await message.channel.send({embeds: [kickEmbed]});
};