Skip to content

Commit

Permalink
fix: break embed links displayed in !version (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2en authored Jan 22, 2023
1 parent ee078fa commit 8cf8bc1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/service/command/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ export class GetVersionCommand implements CommandResponder<typeof SCHEMA> {
const { version } = this.fetcher;
await message.reply({
title: 'はらちょバージョン',
description: `[${version}](https://github.com/approvers/OreOreBot2/releases/tag/${version}) だよ。`,
/**
* v1.30.0以降、全てのTagの先頭には "oreorebot2-" という文字列が付与されるようになったため、ハードコーディングで対応
* https://github.com/approvers/OreOreBot2/tags
*/
description: `[${version}](https://github.com/approvers/OreOreBot2/releases/tag/oreorebot2-v${version}) だよ。`,
url: `https://github.com/approvers/OreOreBot2/releases`
});
}
Expand Down

0 comments on commit 8cf8bc1

Please sign in to comment.