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`
|
||||
)
|
||||
.setFooter({ text: "Thank you for supporting Cath!" })
|
||||
.setColor("GREEN")
|
||||
.setColor("Green")
|
||||
.setTimestamp()
|
||||
.setAuthor(
|
||||
interaction.user.tag,
|
||||
|
@ -64,7 +64,7 @@ module.exports = {
|
|||
)
|
||||
.setTimestamp()
|
||||
.setThumbnail(interaction.guild.iconURL({ dynamic: true }))
|
||||
.setColor("GREEN"),
|
||||
.setColor("Green"),
|
||||
],
|
||||
});
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ module.exports = {
|
|||
const acceptEmbed = new EmbedBuilder()
|
||||
.setAuthor(data.author.name, data.author.iconURL)
|
||||
.setDescription(data.description)
|
||||
.setColor("GREEN")
|
||||
.setColor("Green")
|
||||
.addField("**Status(ACCEPTED)**", acceptQuery);
|
||||
suggestEmbed.edit({ embeds: [acceptEmbed] });
|
||||
const user = await client.users.cache.find(
|
||||
|
|
|
@ -27,7 +27,7 @@ module.exports = {
|
|||
iconURL: client.user.displayAvatarURL(),
|
||||
})
|
||||
.setTimestamp()
|
||||
.setColor("GREEN"),
|
||||
.setColor("Green"),
|
||||
],
|
||||
});
|
||||
const ch = client.channels.cache.get(client.config.Report);
|
||||
|
|
|
@ -55,7 +55,7 @@ module.exports = {
|
|||
.setDescription(
|
||||
"You have sent a suggestion.\nPlease wait for us to review it"
|
||||
)
|
||||
.setColor("GREEN")
|
||||
.setColor("Green")
|
||||
.setFooter({
|
||||
text: `Made by ${client.author}`,
|
||||
iconURL: client.user.displayAvatarURL(),
|
||||
|
|
|
@ -18,7 +18,7 @@ client.on("guildCreate", guild => {
|
|||
})
|
||||
.setTimestamp()
|
||||
.setThumbnail(guild.iconURL({ dynamic: true }))
|
||||
.setColor("GREEN"),
|
||||
.setColor("Green"),
|
||||
],
|
||||
});
|
||||
const newdb = new db({
|
||||
|
|
Loading…
Reference in a new issue