removing errors due to discord.js kind of cringe
This commit is contained in:
parent
d4c85f5e9e
commit
dfcae1590d
5 changed files with 6 additions and 6 deletions
|
@ -44,7 +44,7 @@ module.exports = {
|
||||||
`Premium added to **${interaction.guild.name}**! \n`
|
`Premium added to **${interaction.guild.name}**! \n`
|
||||||
)
|
)
|
||||||
.setFooter({ text: "Thank you for supporting Cath!" })
|
.setFooter({ text: "Thank you for supporting Cath!" })
|
||||||
.setColor("GREEN")
|
.setColor("Green")
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setAuthor(
|
.setAuthor(
|
||||||
interaction.user.tag,
|
interaction.user.tag,
|
||||||
|
@ -64,7 +64,7 @@ module.exports = {
|
||||||
)
|
)
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setThumbnail(interaction.guild.iconURL({ dynamic: true }))
|
.setThumbnail(interaction.guild.iconURL({ dynamic: true }))
|
||||||
.setColor("GREEN"),
|
.setColor("Green"),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ module.exports = {
|
||||||
const acceptEmbed = new EmbedBuilder()
|
const acceptEmbed = new EmbedBuilder()
|
||||||
.setAuthor(data.author.name, data.author.iconURL)
|
.setAuthor(data.author.name, data.author.iconURL)
|
||||||
.setDescription(data.description)
|
.setDescription(data.description)
|
||||||
.setColor("GREEN")
|
.setColor("Green")
|
||||||
.addField("**Status(ACCEPTED)**", acceptQuery);
|
.addField("**Status(ACCEPTED)**", acceptQuery);
|
||||||
suggestEmbed.edit({ embeds: [acceptEmbed] });
|
suggestEmbed.edit({ embeds: [acceptEmbed] });
|
||||||
const user = await client.users.cache.find(
|
const user = await client.users.cache.find(
|
||||||
|
|
|
@ -27,7 +27,7 @@ module.exports = {
|
||||||
iconURL: client.user.displayAvatarURL(),
|
iconURL: client.user.displayAvatarURL(),
|
||||||
})
|
})
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setColor("GREEN"),
|
.setColor("Green"),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
const ch = client.channels.cache.get(client.config.Report);
|
const ch = client.channels.cache.get(client.config.Report);
|
||||||
|
|
|
@ -55,7 +55,7 @@ module.exports = {
|
||||||
.setDescription(
|
.setDescription(
|
||||||
"You have sent a suggestion.\nPlease wait for us to review it"
|
"You have sent a suggestion.\nPlease wait for us to review it"
|
||||||
)
|
)
|
||||||
.setColor("GREEN")
|
.setColor("Green")
|
||||||
.setFooter({
|
.setFooter({
|
||||||
text: `Made by ${client.author}`,
|
text: `Made by ${client.author}`,
|
||||||
iconURL: client.user.displayAvatarURL(),
|
iconURL: client.user.displayAvatarURL(),
|
||||||
|
|
|
@ -18,7 +18,7 @@ client.on("guildCreate", guild => {
|
||||||
})
|
})
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setThumbnail(guild.iconURL({ dynamic: true }))
|
.setThumbnail(guild.iconURL({ dynamic: true }))
|
||||||
.setColor("GREEN"),
|
.setColor("Green"),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
const newdb = new db({
|
const newdb = new db({
|
||||||
|
|
Loading…
Reference in a new issue