mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-24 06:04:57 +05:00
remove debug stuff
This commit is contained in:
parent
8c139da4c2
commit
ac636b2da3
2 changed files with 1 additions and 2 deletions
|
@ -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],
|
||||
|
|
2
index.js
2
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"] },
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue