oops wrong intent

This commit is contained in:
derpystuff 2022-09-04 00:54:13 +02:00
parent 689b254e4e
commit 11aaed9867
2 changed files with 4 additions and 3 deletions

View file

@ -29,13 +29,15 @@ module.exports = {
const g = context.guild const g = context.guild
// Guild Card // Guild Card
let guildCard = createEmbed("default", context, { 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: { thumbnail: {
url: g.iconUrl + `?size=4096` url: g.iconUrl + `?size=4096`
}, },
fields: [] 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 // TODO: make a proper utility function to pad these codeblocks properly
// Channel Container // Channel Container

View file

@ -12,8 +12,7 @@ const cluster = new ClusterClient("", {
intents: [ intents: [
GatewayIntents.GUILDS, GatewayIntents.GUILDS,
GatewayIntents.GUILD_MESSAGES, GatewayIntents.GUILD_MESSAGES,
GatewayIntents.GUILD_EMOJIS, GatewayIntents.GUILD_EMOJIS
GatewayIntents.GUILD_MEMBERS
], ],
presence: { presence: {
activity: { activity: {