mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 05:51:35 +02:00
Stop Logging Command Use
This commit is contained in:
@@ -25,7 +25,6 @@ module.exports = class ContactCommand extends commando.Command {
|
||||
if (message.channel.type !== 'dm') {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
const messageToReport = args.report;
|
||||
const reportedMsg = await this.client.users.get(process.env.OWNER_ID).send(`**${message.author.username}#${message.author.discriminator} (${message.author.id}):**\n${messageToReport}`);
|
||||
const successMsg = await message.say('Message Sent! Thanks for your support!');
|
||||
|
||||
Reference in New Issue
Block a user