diff --git a/commands/message/info/guild.js b/commands/message/info/guild.js index fd3d996..265a3b9 100644 --- a/commands/message/info/guild.js +++ b/commands/message/info/guild.js @@ -29,13 +29,15 @@ module.exports = { const g = context.guild // Guild Card let guildCard = createEmbed("default", context, { - description: `${icon("house")} **${g.name}** ${highlight(`(${g.id})`)}\n\n${icon("calendar")} **Created at: **${timestamp(g.createdAt, "f")}\n\n<:lc_guild_owner:674652779406426122> **Server Owner: **<@${g.owner.id}>`, + description: `${icon("house")} **${g.name}** ${highlight(`(${g.id})`)}\n\n${icon("calendar")} **Created at: **${timestamp(g.createdAt, "f")}`, thumbnail: { url: g.iconUrl + `?size=4096` }, fields: [] }) + if(g.owner) guildCard.description += `\n\n<:lc_guild_owner:674652779406426122> **Server Owner: **<@${g.owner.id}>` + // TODO: make a proper utility function to pad these codeblocks properly // Channel Container diff --git a/labscore/client.js b/labscore/client.js index d9b1f51..93d6faf 100644 --- a/labscore/client.js +++ b/labscore/client.js @@ -12,8 +12,7 @@ const cluster = new ClusterClient("", { intents: [ GatewayIntents.GUILDS, GatewayIntents.GUILD_MESSAGES, - GatewayIntents.GUILD_EMOJIS, - GatewayIntents.GUILD_MEMBERS + GatewayIntents.GUILD_EMOJIS ], presence: { activity: {