Browse Source

Merge pull request #4 from AstroPixel24/patch-1

Update the arguments in 'do be training'
pull/8/head
Abheek 4 years ago
committed by GitHub
parent
commit
1e4b3874aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      bot/awesomescibo.mjs

6
bot/awesomescibo.mjs

@ -304,18 +304,24 @@ client.on('message', async message => {
let subjectURL; let 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