fixing bugs

This commit is contained in:
NK 2023-02-03 19:14:39 +00:00
parent dfcae1590d
commit bb11d4d79a
3 changed files with 6 additions and 6 deletions

View file

@ -85,7 +85,7 @@ module.exports = {
iconURL: interaction.user.displayAvatarURL({ dynamic: true }),
});
const components = state => [
new Discord.MessageActionRow().addComponents(
new Discord.ActionRowBuilder().addComponents(
new Discord.MessageSelectMenu()
.setCustomId("help-menu")
.setPlaceholder(`Please select a category`)

View file

@ -11,7 +11,7 @@ module.exports = {
const Embed = new EmbedBuilder()
.setTitle("<a:pong:897383314405605436> Pong!")
.setAuthor({
name: `${interaction.user.username}`,
name: interaction.user.username,
iconURL: interaction.user.displayAvatarURL(),
})
.setDescription(

View file

@ -82,10 +82,10 @@ module.exports = {
// activities = "None";
// } else activities = "None";
const embed = new EmbedBuilder()
.setAuthor(
member.user.tag,
member.user.displayAvatarURL({ dynamic: true, size: 2048 })
)
.setAuthor({
name: member.user.tag,
iconURL: member.user.displayAvatarURL({ dynamic: true, size: 2048 }),
})
.setTimestamp()
.setColor(member.displayHexColor || client.color)
.setURL(client.web)