s-hfarooq / AlmaBotter

Discord Bot for the UIUC 202x Server
https://discord.gg/2pFv4Wq
MIT License
0 stars 11 forks source link

Add Functionality Similar to UIUC Reddit Bot #7

Closed ethanrasmussen closed 4 years ago

ethanrasmussen commented 4 years ago

I tried implementing a new command 'queen class [SUBJECT-NUMBER]', that would function similarly to the Reddit UIUC bot, spitting back the course's name, credit hours, and recent avg. GPA. I looked at the code of the Reddit bot and rewrote some similar code in JS. I used jQuery-CSV to parse the 2 CSV files.

Unfortunately, I'm not familiar with launching a bot like this, so I haven't had the opportunity to test it, although I believe it should work? However, I'm unsure if the file references for the CSV's is correct. I formatted it in the same way I'd do so in Python, but I'm not certain if they would need to modified to work with JS.