diff --git a/apps/bot/src/app/events/clientReady/updateDescription.ts b/apps/bot/src/app/events/clientReady/updateDescription.ts index a0bce57..2b5ce45 100644 --- a/apps/bot/src/app/events/clientReady/updateDescription.ts +++ b/apps/bot/src/app/events/clientReady/updateDescription.ts @@ -1,4 +1,5 @@ import { commandMention } from "@/features/discord/command.service"; +import chevyConfig from "@/config/core/chevy.config"; import type { EventHandler } from "commandkit"; export const once = true; @@ -19,7 +20,7 @@ const handler: EventHandler<"clientReady"> = async (client) => { Use ${await commandMention("hevy link")} to get started ! -https://chevy.fit/add-bot +${chevyConfig.addBotLink} - ${chevyConfig.mainDiscordInviteLink} (Chevy is not affiliated with Hevy) - \`v${botVersion}\` `, diff --git a/apps/bot/src/config/core/chevy.config.ts b/apps/bot/src/config/core/chevy.config.ts new file mode 100644 index 0000000..75a25bf --- /dev/null +++ b/apps/bot/src/config/core/chevy.config.ts @@ -0,0 +1,7 @@ +const WEBSITE_DOMAIN = "chevy.fit"; + +export default { + website: `https://${WEBSITE_DOMAIN}`, + addBotLink: `https://${WEBSITE_DOMAIN}/add-bot`, + mainDiscordInviteLink: `https://${WEBSITE_DOMAIN}/discord`, +};