added a space

This commit is contained in:
Supositware 2019-05-03 11:52:31 +02:00
parent 0aec68325e
commit df7073e8df

View file

@ -41,7 +41,7 @@ class KickCommand extends Command {
await member.send(`You have been kicked from **${message.guild.name}** for the following reasons: "**${reasons}**"`) await member.send(`You have been kicked from **${message.guild.name}** for the following reasons: "**${reasons}**"`)
.catch(() => console.log('could not send message to the concerned user')); .catch(() => console.log('could not send message to the concerned user'));
return member.kick(`Kicked by : ${message.author.username} for the following reasons : ${reasons}`) return member.kick(`Kicked by : ${message.author.username} for the following reasons: ${reasons}`)
.then(() => message.reply(`${member.user.username} was succesfully kicked with the following reasons "${reasons}".`)) .then(() => message.reply(`${member.user.username} was succesfully kicked with the following reasons "${reasons}".`))
.catch(err => console.error(err)); .catch(err => console.error(err));
} }