mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
Stop Logging Command Use
This commit is contained in:
@@ -37,7 +37,6 @@ module.exports = class SendDMCommand 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 userID = args.userid;
|
||||
const content = args.content;
|
||||
try {
|
||||
|
||||
@@ -21,7 +21,6 @@ module.exports = class ServersCommand 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 guildCount = this.client.guilds.size;
|
||||
const guildNames = this.client.guilds.map(g => `${g.name} (${g.id})`).join(', ');
|
||||
console.log(`${guildCount} Servers: ${guildNames}`);
|
||||
|
||||
Reference in New Issue
Block a user