aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-03-25 14:42:58 -0400
committerAlee <alee14498@gmail.com>2018-03-25 14:42:58 -0400
commit92b84d51d3b9d8d1ac578e37544d41d37a5b1768 (patch)
tree6931c2b4bbd7ac5af89eab6a45f5b26dd93fc71c
parent5764b61a0f8a715cfa06d98ef82f577ad9fc8e29 (diff)
downloadAleeBot-92b84d51d3b9d8d1ac578e37544d41d37a5b1768.tar.gz
AleeBot-92b84d51d3b9d8d1ac578e37544d41d37a5b1768.tar.bz2
AleeBot-92b84d51d3b9d8d1ac578e37544d41d37a5b1768.zip
Updates to ban and kick
-rw-r--r--commands/ban.js2
-rw-r--r--commands/kick.js2
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 = {