From 92b84d51d3b9d8d1ac578e37544d41d37a5b1768 Mon Sep 17 00:00:00 2001 From: Alee Date: Sun, 25 Mar 2018 14:42:58 -0400 Subject: Updates to ban and kick --- commands/ban.js | 2 +- commands/kick.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'commands') 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 = { -- cgit v1.2.3