From ac636b2da33fefdfeaff6c5ba47de372d9578716 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Wed, 7 Feb 2024 21:10:39 +0500 Subject: [PATCH] remove debug stuff --- commands/General/avatar.js | 1 - index.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/General/avatar.js b/commands/General/avatar.js index e3775c5d..900e281d 100644 --- a/commands/General/avatar.js +++ b/commands/General/avatar.js @@ -49,7 +49,6 @@ class Avatar extends BaseCommand { const member = interaction.options.getMember("user") || interaction.member; const avatarURL = interaction.options.getBoolean("server") ? member.displayAvatarURL({ size: 2048 }) : member.user.displayAvatarURL({ size: 2048 }); const embed = client.embed({ image: avatarURL }); - console.log(avatarURL); interaction.reply({ embeds: [embed], diff --git a/index.js b/index.js index 3612456b..164fb19f 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ const { GatewayIntentBits } = require("discord.js"), Client = require("./base/Client"); const client = new Client({ - intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildBans, GatewayIntentBits.GuildEmojisAndStickers, GatewayIntentBits.GuildIntegrations, GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildVoiceStates, GatewayIntentBits.GuildPresences, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMessageReactions, GatewayIntentBits.GuildMessageTyping, GatewayIntentBits.MessageContent, GatewayIntentBits.DirectMessageTyping, GatewayIntentBits.DirectMessages, GatewayIntentBits.DirectMessageReactions ], + intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildModeration, GatewayIntentBits.GuildEmojisAndStickers, GatewayIntentBits.GuildIntegrations, GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildVoiceStates, GatewayIntentBits.GuildPresences, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildMessageReactions, GatewayIntentBits.GuildMessageTyping, GatewayIntentBits.MessageContent, GatewayIntentBits.DirectMessageTyping, GatewayIntentBits.DirectMessages, GatewayIntentBits.DirectMessageReactions ], allowedMentions: { parse: ["everyone", "roles", "users"] }, });