Browse Source

Change formatting slightly

pull/10/head
Abheek Dhawan 4 years ago
parent
commit
ab55301b96
  1. 3
      bot/awesomescibo.js

3
bot/awesomescibo.js

@ -158,8 +158,7 @@ function training(subject, interaction) {
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).then(() => {
interaction.channel interaction.channel.awaitMessages(messageFilter, {
.awaitMessages(messageFilter, {
max: 1, max: 1,
time: 30000, time: 30000,
errors: ["time"], errors: ["time"],

Loading…
Cancel
Save