feat(version): return bun revision

This commit is contained in:
Jozef Steinhübl 2023-08-24 10:26:38 +02:00
parent 75003af03c
commit 16fa2fc3e3

View file

@ -9,7 +9,7 @@ export default defineCommand({
context.interaction.reply({ context.interaction.reply({
content: [ content: [
`[git-bun-discord-bot-${COMMIT_HASH}](<https://github.com/xHyroM/bun-discord-bot/tree/${COMMIT_HASH}>) ${!PRODUCTION ? "(dev)" : ""}`, `[git-bun-discord-bot-${COMMIT_HASH}](<https://github.com/xHyroM/bun-discord-bot/tree/${COMMIT_HASH}>) ${!PRODUCTION ? "(dev)" : ""}`,
`[v${Bun.version}](https://github.com/oven-sh/bun/releases/tag/bun-v${Bun.version})` `[v${Bun.version} (${Bun.revision})](<https://github.com/oven-sh/bun/releases/tag/bun-v${Bun.version}>)`
].join("\n"), ].join("\n"),
ephemeral: true, ephemeral: true,
}); });