Skip to content

a reddit bot for the uManitoba subreddit that helps users find course descriptions and prerequisites for specific classes

License

Notifications You must be signed in to change notification settings

ArshSB/uManitoba-course-finder-reddit-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

course-finder-reddit-bot

a uManitoba subreddit version of my previous course finder bot

See the bot in action here

Purpose

this bot monitors the uManitoba subreddit and replies to users with their requested course description and prerequisites from the uManitoba database.

Please note the database is not readily available in one place and webpage so I used this arbitrary link and manipulated the URL content by replacing the last part of the link with a specific course name and code, which yields a new webpage with the respective course information

Note: As of May 2021, uManitoba has updated their databases and their website, so the above link is invalid. Perhaps in the near future I will update the code to fix this change.

Usage

either through commenting or posting in the subreddit, simply call the bot like this

!find *course_name* *course_code*

make sure to leave a space between !find, course_name and course_code

Getting started

  1. register an app with Reddit for authenticatication. Instructions here
  2. input your client information, username and password in login_bot()
  3. if desired, change or remove how often the bot checks for new posts and comments in main()
  4. run main() or the py file in the interpreter to start the bot!

Built With

About

a reddit bot for the uManitoba subreddit that helps users find course descriptions and prerequisites for specific classes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages