Skip to content

A discord bot to post the Queens University dining hall menus every morning

License

Notifications You must be signed in to change notification settings

Evan-Kreutzwiser/queensu-menu-bot

Repository files navigation

queensu-menu-bot

A Discord bot that posts menus for Queen's University dining halls every morning.

This bot utilizes the same backend as the official Queen's Hospitality Services menu page, to deliver the menus straight to your Discord server! Select a channel to receive automatic daily updates, or call on the bot manually before heading out to eat.

! The bot will erase the contents of the channel it posts automatic daily menu to !

Commands

  • /menu <meal> <hall>
    • Prints the menu for a single meal at a dining hall
  • /getmenuchannel
    • See which channel daily menus will be posted to
  • /setmenuchannel <channel (optional)>
    • Specify a channel for daily menus to be posted to
    • Caller requires server admin
  • /forgetmenuchannel
    • Stop receiving automatic menu posts
    • Caller requires server admin

Installation

First clone the repository and install the requirements in requirements.txt. Next, create a bot user in the Discord developer portal and save its token to an environment variable called TOKEN. The only permission the bot needs in its invitation url is Manage Messages, to empty the channel it posts the daily menus in.

Limitations

The bot only gets menus for the dining halls (not retail locations), and due to limitations in the API used menus can't be retrieved for light lunch, barista, or continental meals. If you want to check the brunch menu on weekends, see the lunch menu. We also opt to not include allergens or dietary restrictions because during testing the information returned from the API appeared to be incomplete.

About

A discord bot to post the Queens University dining hall menus every morning

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages