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; var subjectURL;
switch (subject) { switch (subject) {
case 'astro': case 'astro':
case 'astronomy':
subjectURL = `https://moose.lcsrc.org/subjects/astronomy.json`; subjectURL = `https://moose.lcsrc.org/subjects/astronomy.json`;
break; break;
case 'bio': case 'bio':
case 'biology':
subjectURL = `https://moose.lcsrc.org/subjects/biology.json`; subjectURL = `https://moose.lcsrc.org/subjects/biology.json`;
break; break;
case 'ess': case 'ess':
case 'earth science':
case 'es':
subjectURL = `https://moose.lcsrc.org/subjects/ess.json`; subjectURL = `https://moose.lcsrc.org/subjects/ess.json`;
break; break;
case 'chem': case 'chem':
case 'chemistry':
subjectURL = `https://moose.lcsrc.org/subjects/chemistry.json`; subjectURL = `https://moose.lcsrc.org/subjects/chemistry.json`;
break; break;
case 'phys': case 'phys':
case 'physics':
subjectURL = `https://moose.lcsrc.org/subjects/physics.json`; subjectURL = `https://moose.lcsrc.org/subjects/physics.json`;
break; break;
case 'math': case 'math':

Loading…
Cancel
Save