nyx

The first CODM discrod bot -- cath.exe Template
git clone https://codeberg.org/night0721/nyx
Log | Files | Refs | LICENSE

commit dfcae1590d635ab4ab62932b4590cb9407fa8c65
parent d4c85f5e9e8977324eb3907c6a7a51e5f1bb509e
Author: NK <[email protected]>
Date:   Fri,  3 Feb 2023 19:11:17 +0000

removing errors due to discord.js kind of cringe

Diffstat:
Mcommand/Config/premium.js | 4++--
Mcommand/Owner/accept.js | 2+-
Mcommand/Utilities/report.js | 2+-
Mcommand/Utilities/suggest.js | 2+-
Mevents/guild.js | 2+-
5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/command/Config/premium.js b/command/Config/premium.js @@ -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"), ], }); } diff --git a/command/Owner/accept.js b/command/Owner/accept.js @@ -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( diff --git a/command/Utilities/report.js b/command/Utilities/report.js @@ -27,7 +27,7 @@ module.exports = { iconURL: client.user.displayAvatarURL(), }) .setTimestamp() - .setColor("GREEN"), + .setColor("Green"), ], }); const ch = client.channels.cache.get(client.config.Report); diff --git a/command/Utilities/suggest.js b/command/Utilities/suggest.js @@ -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(), diff --git a/events/guild.js b/events/guild.js @@ -18,7 +18,7 @@ client.on("guildCreate", guild => { }) .setTimestamp() .setThumbnail(guild.iconURL({ dynamic: true })) - .setColor("GREEN"), + .setColor("Green"), ], }); const newdb = new db({