Browse Source

Add chemistry as a subject for generated rounds

pull/9/head
Abheek Dhawan 4 years ago
parent
commit
49f7d0fa97
  1. 2
      bot/awesomescibo.js

2
bot/awesomescibo.js

@ -316,7 +316,7 @@ async function generateRound(message) {
let bonus_format;
let bonus_answer;
let htmlContent = "";
await axios.post("https://scibowldb.com/api/questions", { categories: ["BIOLOGY", "PHYSICS", "EARTH AND SPACE", "ASTRONOMY", "MATH"] })
await axios.post("https://scibowldb.com/api/questions", { categories: ["BIOLOGY", "PHYSICS", "CHEMISTRY", "EARTH AND SPACE", "ASTRONOMY", "MATH"] })
.then((response) => {
for (i = 1; i < 26; i++) {
data = response.data.questions[Math.floor(Math.random() * response.data.questions.length)];

Loading…
Cancel
Save