mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
use oauth url instead of app directory
This commit is contained in:
parent
baee9233d1
commit
bfc3f1f186
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ module.exports = {
|
||||||
`${iconPill("connection", "Memory Usage")} ${highlight(` ${Math.round(formatted.usage / 1024 / 1024)}MB `)}`,
|
`${iconPill("connection", "Memory Usage")} ${highlight(` ${Math.round(formatted.usage / 1024 / 1024)}MB `)}`,
|
||||||
`${iconPill("timer", "Uptime ")} ${highlight(` ${format(process.uptime())} `)}`,
|
`${iconPill("timer", "Uptime ")} ${highlight(` ${format(process.uptime())} `)}`,
|
||||||
``,
|
``,
|
||||||
`${iconLinkPill('gitlab', OPEN_SOURCE_REPOSITORY_URL, 'Source Code')} ${iconLinkPill('link', `https://canary.discord.com/application-directory/${context.client.user.id}`, `Invite ${context.client.user.username}`)}`
|
`${iconLinkPill('gitlab', OPEN_SOURCE_REPOSITORY_URL, 'Source Code')} ${iconLinkPill('link', context.application.oauth2UrlFormat({ scope: 'bot applications.commands', permissions: 412317248576 }), `Invite ${context.client.user.username}`)}`
|
||||||
]
|
]
|
||||||
|
|
||||||
return editOrReply(context, createEmbed("default", context, {
|
return editOrReply(context, createEmbed("default", context, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue