diff options
| author | Alee <alee14498@gmail.com> | 2018-03-25 14:42:58 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-03-25 14:42:58 -0400 |
| commit | 92b84d51d3b9d8d1ac578e37544d41d37a5b1768 (patch) | |
| tree | 6931c2b4bbd7ac5af89eab6a45f5b26dd93fc71c | |
| parent | 5764b61a0f8a715cfa06d98ef82f577ad9fc8e29 (diff) | |
| download | AleeBot-92b84d51d3b9d8d1ac578e37544d41d37a5b1768.tar.gz AleeBot-92b84d51d3b9d8d1ac578e37544d41d37a5b1768.tar.bz2 AleeBot-92b84d51d3b9d8d1ac578e37544d41d37a5b1768.zip | |
Updates to ban and kick
| -rw-r--r-- | commands/ban.js | 2 | ||||
| -rw-r--r-- | commands/kick.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/commands/ban.js b/commands/ban.js index d2e78a2..a661417 100644 --- a/commands/ban.js +++ b/commands/ban.js @@ -29,7 +29,7 @@ module.exports.run = async (client, message, args) => { const member = message.mentions.members.first(); if (!member) return message.reply("Uhh... Please mention a member first."); member.ban(`Banned by ${message.author.tag} Reason: ` + mreason); - message.reply(member.user.tag + " has been banned! Reason: " + mreason); + message.reply(`${member.user.tag} has been banned! Reason: ` + mreason); }; exports.conf = { diff --git a/commands/kick.js b/commands/kick.js index a8c25b5..d7f2dde 100644 --- a/commands/kick.js +++ b/commands/kick.js @@ -29,7 +29,7 @@ module.exports.run = async (client, message, args) => { const member = message.mentions.members.first(); if (!member) return message.reply("Uhh... Please mention a member first."); member.kick(`Kicked by: ${message.author.tag} Reason: ` + mreason); - message.reply(member.user.tag + ` has been kicked! Reason: ` + mreason); + message.reply(`${member.user.tag} has been kicked! Reason: ` + mreason); }; exports.conf = { |
