debugging + the great revamp

This commit is contained in:
NK 2023-04-06 13:40:00 +01:00
parent 294bfd8d03
commit 6da0a868a2
3 changed files with 3 additions and 26 deletions

View file

@ -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 }),

View file

@ -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",

View file

@ -86,7 +86,6 @@ module.exports = {
const PremiumServers = user.PremiumServers;
return {
User,
AFKDate,
Tier,
Premium,
Blacklist,