Browse Source

Update awesomescibo.mjs

pull/4/head
Aldric Benalan 4 years ago
committed by GitHub
parent
commit
0627c49d89
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      bot/awesomescibo.mjs

6
bot/awesomescibo.mjs

@ -314,18 +314,24 @@ client.on('message', async message => {
var subjectURL;
switch (subject) {
case 'astro':
case 'astronomy':
subjectURL = `https://moose.lcsrc.org/subjects/astronomy.json`;
break;
case 'bio':
case 'biology':
subjectURL = `https://moose.lcsrc.org/subjects/biology.json`;
break;
case 'ess':
case 'earth science':
case 'es':
subjectURL = `https://moose.lcsrc.org/subjects/ess.json`;
break;
case 'chem':
case 'chemistry':
subjectURL = `https://moose.lcsrc.org/subjects/chemistry.json`;
break;
case 'phys':
case 'physics':
subjectURL = `https://moose.lcsrc.org/subjects/physics.json`;
break;
case 'math':

Loading…
Cancel
Save