A Discord bot that checks the eClass of the Department of Informatics in University of Piraeus for new announcements and notifies students at the corresponding channel.
-
Clone the repository
git clone [email protected]:gespyrop/GUNet2-Announcement-Bot.git
-
Add a
config.json
with the following{ "token": "YOUR_TOKEN", "serverID": "YOUR_SERVER_ID" }
-
Set the channel to send notifications for each course in
courses.json
. (You can delete the courses for which you do not wish to receive notifications or add new ones) -
Build the docker image
docker build -t gunet2 .
-
Start the bot in the background
docker run --name=gunet2-bot -d gunet2
docker stop gunet2-bot
docker restart gunet2-bot
© George Spyropoulos
Licensed under the MIT License.