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"] }, });