Skip to content

Commit

Permalink
qrcode-quiz: Add link to standard rule in quiz text
Browse files Browse the repository at this point in the history
  • Loading branch information
hakatashi authored Jun 28, 2024
1 parent 09d6d26 commit b60a27a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qrcode-quiz/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit b60a27a

Please sign in to comment.