mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-09 01:04:16 +02:00
Stop Logging Command Use
This commit is contained in:
@@ -30,7 +30,6 @@ module.exports = class WebhookCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission('MANAGE_MESSAGES')) return message.say(':x: Error! I don\'t have the Manage Messages Permission!');
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
const content = args.text;
|
||||
try {
|
||||
await message.delete();
|
||||
|
||||
Reference in New Issue
Block a user