From b60a27a8a8bc9bb6539b9d18fd5b6738cc9a2d1d Mon Sep 17 00:00:00 2001 From: Koki Takahashi Date: Fri, 28 Jun 2024 19:04:11 +0900 Subject: [PATCH] qrcode-quiz: Add link to standard rule in quiz text --- qrcode-quiz/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qrcode-quiz/index.ts b/qrcode-quiz/index.ts index 50adb483..cd0fd402 100644 --- a/qrcode-quiz/index.ts +++ b/qrcode-quiz/index.ts @@ -396,7 +396,8 @@ export default (slackClients: SlackInterface) => { isUnmasked: quizOptions.isUnmasked, }); - const quizText = `このQRコード、なんと書いてあるでしょう? (difficulty = ${quizOptions.difficulty}, mode = ${quizOptions.mode}, masked = ${!quizOptions.isUnmasked})`; + const standardRuleUrl = 'https://scrapbox.io/tsg/QR%E5%BD%93%E3%81%A6%E3%82%AF%E3%82%A4%E3%82%BA%2F%E6%A8%99%E6%BA%96%E3%83%AB%E3%83%BC%E3%83%AB'; + const quizText = `このQRコード、なんと書いてあるでしょう? (difficulty = ${quizOptions.difficulty}, mode = ${quizOptions.mode}, masked = ${!quizOptions.isUnmasked}) <${standardRuleUrl}|標準ルール>`; const ateQuiz = new QrAteQuiz(slackClients, { problemMessage: {