fixing bugs
This commit is contained in:
parent
dfcae1590d
commit
bb11d4d79a
3 changed files with 6 additions and 6 deletions
|
@ -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`)
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue