|
@ -209,7 +209,7 @@ function training(subject, interaction) { |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
data = res.data.question; |
|
|
data = res.data.question; |
|
|
const messageFilter = (m) => m.author.id === authorId; |
|
|
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, { |
|
|
interaction.channel.awaitMessages(messageFilter, { |
|
|
max: 1, |
|
|
max: 1, |
|
|
time: 120000, |
|
|
time: 120000, |
|
|