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 }),
|
iconURL: interaction.user.displayAvatarURL({ dynamic: true }),
|
||||||
});
|
});
|
||||||
const components = state => [
|
const components = state => [
|
||||||
new Discord.MessageActionRow().addComponents(
|
new Discord.ActionRowBuilder().addComponents(
|
||||||
new Discord.MessageSelectMenu()
|
new Discord.MessageSelectMenu()
|
||||||
.setCustomId("help-menu")
|
.setCustomId("help-menu")
|
||||||
.setPlaceholder(`Please select a category`)
|
.setPlaceholder(`Please select a category`)
|
||||||
|
|
|
@ -11,7 +11,7 @@ module.exports = {
|
||||||
const Embed = new EmbedBuilder()
|
const Embed = new EmbedBuilder()
|
||||||
.setTitle("<a:pong:897383314405605436> Pong!")
|
.setTitle("<a:pong:897383314405605436> Pong!")
|
||||||
.setAuthor({
|
.setAuthor({
|
||||||
name: `${interaction.user.username}`,
|
name: interaction.user.username,
|
||||||
iconURL: interaction.user.displayAvatarURL(),
|
iconURL: interaction.user.displayAvatarURL(),
|
||||||
})
|
})
|
||||||
.setDescription(
|
.setDescription(
|
||||||
|
|
|
@ -82,10 +82,10 @@ module.exports = {
|
||||||
// activities = "None";
|
// activities = "None";
|
||||||
// } else activities = "None";
|
// } else activities = "None";
|
||||||
const embed = new EmbedBuilder()
|
const embed = new EmbedBuilder()
|
||||||
.setAuthor(
|
.setAuthor({
|
||||||
member.user.tag,
|
name: member.user.tag,
|
||||||
member.user.displayAvatarURL({ dynamic: true, size: 2048 })
|
iconURL: member.user.displayAvatarURL({ dynamic: true, size: 2048 }),
|
||||||
)
|
})
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setColor(member.displayHexColor || client.color)
|
.setColor(member.displayHexColor || client.color)
|
||||||
.setURL(client.web)
|
.setURL(client.web)
|
||||||
|
|
Loading…
Reference in a new issue