Skip to content

A Discord bot that will send channel notifications whenever new questions/answers are posted in Piazza

Notifications You must be signed in to change notification settings

helenh233/piazza_discord_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

piazza_discord_bot

When given a list of Piazza classes, this Discord bot will scan each class for unread questions every minute, then send a message into the class's corresponding Discord channel to notify the user.
By using prettify.py, it will preserve text formatting, automatically link images, and render LaTex.
If a student/instructor answer is created/updated for a Piazza post that the user follows, the bot will reply to the original Discord message with the answer.
Piazza Discord Bot

Instructions

In credentials.py, input a Piazza email and password, Discord bot token, and Piazza network IDs with their corresponding Discord channel IDs.

Install the needed libraries:

pip install -U discord.py  
pip install piazza-api  
pip install urllib  
pip install beautifulsoup4  

Run bot.py

About

A Discord bot that will send channel notifications whenever new questions/answers are posted in Piazza

Topics

Resources

Stars

Watchers

Forks

Languages