debugging + the great revamp
This commit is contained in:
parent
294bfd8d03
commit
6da0a868a2
3 changed files with 3 additions and 26 deletions
|
@ -677,6 +677,7 @@ module.exports = {
|
||||||
)
|
)
|
||||||
.then(res => res.data)
|
.then(res => res.data)
|
||||||
.catch(e => null);
|
.catch(e => null);
|
||||||
|
console.log(data);
|
||||||
if (!data?.cwts) {
|
if (!data?.cwts) {
|
||||||
const embed = new EmbedBuilder()
|
const embed = new EmbedBuilder()
|
||||||
.setDescription(
|
.setDescription(
|
||||||
|
@ -695,7 +696,7 @@ module.exports = {
|
||||||
`<:nyx_description:897379659665264650> **Description** \`\`\`\n${data.notes}\n \`\`\``
|
`<:nyx_description:897379659665264650> **Description** \`\`\`\n${data.notes}\n \`\`\``
|
||||||
)
|
)
|
||||||
.setColor(16580400)
|
.setColor(16580400)
|
||||||
.setImage(data.imageUrl)
|
.setImage(data.imageUrl ? data.imageUrl : null)
|
||||||
.setFooter({
|
.setFooter({
|
||||||
text: `Builds Aggregated by ${client.author}`,
|
text: `Builds Aggregated by ${client.author}`,
|
||||||
iconURL: client.user.displayAvatarURL({ dynamic: true }),
|
iconURL: client.user.displayAvatarURL({ dynamic: true }),
|
||||||
|
|
|
@ -43,22 +43,10 @@ module.exports = {
|
||||||
name: "config",
|
name: "config",
|
||||||
value: "Config",
|
value: "Config",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "economy",
|
|
||||||
value: "Economy",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "fun",
|
|
||||||
value: "Fun",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "information",
|
name: "information",
|
||||||
value: "Information",
|
value: "Information",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "moderation",
|
|
||||||
value: "Moderation",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "utilities",
|
name: "utilities",
|
||||||
value: "Utilities",
|
value: "Utilities",
|
||||||
|
@ -106,22 +94,11 @@ module.exports = {
|
||||||
name: "config",
|
name: "config",
|
||||||
value: "Config",
|
value: "Config",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "economy",
|
|
||||||
value: "Economy",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "fun",
|
|
||||||
value: "Fun",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "information",
|
name: "information",
|
||||||
value: "Information",
|
value: "Information",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "moderation",
|
|
||||||
value: "Moderation",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "utilities",
|
name: "utilities",
|
||||||
value: "Utilities",
|
value: "Utilities",
|
||||||
|
|
|
@ -86,7 +86,6 @@ module.exports = {
|
||||||
const PremiumServers = user.PremiumServers;
|
const PremiumServers = user.PremiumServers;
|
||||||
return {
|
return {
|
||||||
User,
|
User,
|
||||||
AFKDate,
|
|
||||||
Tier,
|
Tier,
|
||||||
Premium,
|
Premium,
|
||||||
Blacklist,
|
Blacklist,
|
||||||
|
|
Loading…
Reference in a new issue