diff --git a/command/CODM/build.js b/command/CODM/build.js index a6703db..3296ac2 100644 --- 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 index df8159f..69ad6ff 100644 --- a/command/Config/settings.js +++ b/command/Config/settings.js @@ -43,22 +43,10 @@ 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", @@ -106,22 +94,11 @@ 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 index bd81235..4150a1b 100644 --- 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,