mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
oops wrong intent
This commit is contained in:
parent
689b254e4e
commit
11aaed9867
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue