mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-25 02:05:40 +01:00
Hide Stuff
This commit is contained in:
parent
d136e5aa6d
commit
07025a7296
@ -8,7 +8,6 @@ exports.command = function (message) {
|
|||||||
message.mentions.users.map((user) => {
|
message.mentions.users.map((user) => {
|
||||||
var count = state.warnings.filter(x => x.id === user.id && !x.cleared).length || 0;
|
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}.`);
|
logger.info(`${message.author.toString()} has banned ${user.toString()} ${user} ${user.username}.`);
|
||||||
state.logChannel.send(`${message.author} has banned ${user} ${user.username} [${count}].`);
|
state.logChannel.send(`${message.author} has banned ${user} ${user.username} [${count}].`);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user