commit 6da0a868a24c9fc5dfc8df3f5251ea5181762325
parent 294bfd8d03ff47fcb26cc966e600eb41e1ab864e
Author: NK <[email protected]>
Date: Thu, 6 Apr 2023 13:40:00 +0100
debugging + the great revamp
Diffstat:
3 files changed, 3 insertions(+), 26 deletions(-)
diff --git a/command/CODM/build.js b/command/CODM/build.js
@@ -677,6 +677,7 @@ module.exports = {
)
.then(res => res.data)
.catch(e => null);
+ console.log(data);
if (!data?.cwts) {
const embed = new EmbedBuilder()
.setDescription(
@@ -695,7 +696,7 @@ module.exports = {
`<:nyx_description:897379659665264650> **Description** \`\`\`\n${data.notes}\n \`\`\``
)
.setColor(16580400)
- .setImage(data.imageUrl)
+ .setImage(data.imageUrl ? data.imageUrl : null)
.setFooter({
text: `Builds Aggregated by ${client.author}`,
iconURL: client.user.displayAvatarURL({ dynamic: true }),
diff --git a/command/Config/settings.js b/command/Config/settings.js
@@ -44,22 +44,10 @@ module.exports = {
value: "Config",
},
{
- name: "economy",
- value: "Economy",
- },
- {
- name: "fun",
- value: "Fun",
- },
- {
name: "information",
value: "Information",
},
{
- name: "moderation",
- value: "Moderation",
- },
- {
name: "utilities",
value: "Utilities",
},
@@ -106,23 +94,12 @@ module.exports = {
name: "config",
value: "Config",
},
- {
- name: "economy",
- value: "Economy",
- },
- {
- name: "fun",
- value: "Fun",
- },
+
{
name: "information",
value: "Information",
},
{
- name: "moderation",
- value: "Moderation",
- },
- {
name: "utilities",
value: "Utilities",
},
diff --git a/util/functions/mongoose.js b/util/functions/mongoose.js
@@ -86,7 +86,6 @@ module.exports = {
const PremiumServers = user.PremiumServers;
return {
User,
- AFKDate,
Tier,
Premium,
Blacklist,