improve body

This commit is contained in:
derpystuff 2024-03-28 21:10:36 +01:00
parent 76bea68d82
commit d3860115b3

View file

@ -24,14 +24,12 @@ module.exports = {
run: async (context, args) => { run: async (context, args) => {
context.triggerTyping(); context.triggerTyping();
if(!args.invite) return editOrReply(context, { if(!args.invite) return editOrReply(context, {
content: link("https://canary.discord.com/application-directory/" + context.client.user.id + " ", "", "App Directory Invite", true) + " " + link(DISCORD_INVITES.invite + " ", "", "Support Server Invite", true), content: link("https://canary.discord.com/application-directory/" + context.client.user.id + " ", "", "App Directory Invite", true) + " " + link(DISCORD_INVITES.invite + " ", "", "labsCore Support Server", true),
embeds: [createEmbed("default", context, { embeds: [createEmbed("default", context, {
description: [ description: [
'', "",
icon('brand') + ` You can invite ${context.client.user.username} with this ${iconLinkPill("link", context.application.oauth2UrlFormat({ scope: 'bot applications.commands', permissions: 412317248576 }).replace("ptb.discordapp.com","discord.com"), 'Invite Link', 'Discord Application Invite URL')}.`, iconLinkPill("link", context.application.oauth2UrlFormat().replace("ptb.discordapp.com","discord.com"), 'Invite Link (Enable User Commands)', 'Discord Application Invite URL'),
'', iconLinkPill("robot", DISCORD_INVITES.support, 'Support Server', 'labsCore Support Server'),
icon('robot') + ` Need help? Join our ${iconLinkPill("discord", DISCORD_INVITES.support, 'Support Server', "Click to join")}.`,
'',
iconLinkPill('gitlab', OPEN_SOURCE_REPOSITORY_URL, 'Source Code'), iconLinkPill('gitlab', OPEN_SOURCE_REPOSITORY_URL, 'Source Code'),
].join('\n'), ].join('\n'),
image: { image: {