diff --git a/qrcode-quiz/index.ts b/qrcode-quiz/index.ts index ad71f792..109730f6 100644 --- a/qrcode-quiz/index.ts +++ b/qrcode-quiz/index.ts @@ -397,7 +397,7 @@ export default (slackClients: SlackInterface) => { }); 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 quizText = `このQRコード、なんと書いてあるでしょう? (difficulty = ${quizOptions.difficulty}, mode = ${quizOptions.mode}, masked = ${!quizOptions.isUnmasked}) <${standardRuleUrl}|[標準ルール]>`; const ateQuiz = new QrAteQuiz(slackClients, { problemMessage: { @@ -407,7 +407,7 @@ export default (slackClients: SlackInterface) => { { type: 'section', text: { - type: 'plain_text', + type: 'mrkdwn', text: quizText, }, accessory: { @@ -417,6 +417,8 @@ export default (slackClients: SlackInterface) => { }, }, ], + unfurl_links: false, + unfurl_media: false, }, hintMessages: [], immediateMessage: {