From 8e3b5046d40cfc15f6301288ef3ad0f72baf7378 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sun, 16 May 2021 14:43:51 -0500 Subject: [PATCH] Add source to question --- bot/awesomescibo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/awesomescibo.js b/bot/awesomescibo.js index ea6a661..641798f 100755 --- a/bot/awesomescibo.js +++ b/bot/awesomescibo.js @@ -209,7 +209,7 @@ function training(subject, interaction) { .then((res) => { data = res.data.question; const messageFilter = (m) => m.author.id === authorId; - interaction.reply(data.tossup_question).then(() => { + interaction.reply(data.tossup_question + `\n\n||Source: ${data.uri}||`).then(() => { interaction.channel.awaitMessages(messageFilter, { max: 1, time: 120000,