aaaaaaaaaaaa
This commit is contained in:
parent
a96e3cbd96
commit
1e1b78e24f
|
@ -31,7 +31,7 @@ client.on('message', message => {
|
|||
const cmd = commands.find(cmd => cmd.meta?.name == cmdName || cmd.meta?.aliases?.indexOf(cmdName) > -1);
|
||||
if (!cmd) return require('./69Reply').execute(message);
|
||||
|
||||
logger.info(`[CMD] ${message.author.id} ${message.author.tag} => ${cmdName}, ${args.join(' ')}`);
|
||||
logger.info(`[CMD] ${message.author.id} ${message.author.tag} => ${cmdName}${args.length > 0 ? ',' : ''} ${args.join(' ')}`);
|
||||
|
||||
if (cmd.meta?.staffOnly && !message.member.permissions.has('ADMINISTRATOR')) {
|
||||
logger.warn(`${message.author.tag} => Refusing to run staff command`);
|
||||
|
|
Loading…
Reference in a new issue