mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-25 23:55:39 +01:00
9 lines
289 B
JavaScript
9 lines
289 B
JavaScript
const state = require('../state.js');
|
|
|
|
exports.command = function (message) {
|
|
message.mentions.users.map((user) => {
|
|
var warnings = state.warnings.filter(x => x.id === user.id && !x.cleared);
|
|
message.channel.send(`${user}, you have ${warnings.length} total warnings.`);
|
|
});
|
|
};
|