Merge pull request #53 from CaptV0rt3x/ban

Hide some stuff
This commit is contained in:
Flame Sage 2019-05-23 14:43:15 -04:00 committed by GitHub
commit 670f69f64a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,6 @@ exports.command = function (message) {
message.mentions.users.map((user) => {
var count = state.warnings.filter(x => x.id === user.id && !x.cleared).length || 0;
message.channel.send(`${user}, You will now be banned from this server.`);
logger.info(`${message.author.toString()} has banned ${user.toString()} ${user} ${user.username}.`);
state.logChannel.send(`${message.author} has banned ${user} ${user.username} [${count}].`);