Webscraping discord bot, updating you when a new math assignment is out
 
 
Go to file
Oystein Kristoffer Tveit 28437e8ca2
Add license
2024-04-29 20:38:42 +02:00
.icon Add icons 2021-03-26 22:19:56 +01:00
src/Bot Disable debug logs 2021-03-28 01:23:11 +01:00
.dockerignore Add docker file 2021-03-26 23:41:22 +01:00
.gitignore Add files from ionide 2021-03-28 01:11:25 +01:00
Dockerfile Add docker file 2021-03-26 23:41:22 +01:00
LICENSE Add license 2024-04-29 20:38:42 +02:00
README.md Init commit 2021-03-26 19:39:28 +01:00
WikiMathBot.sln Init commit 2021-03-26 19:39:28 +01:00

README.md

WikiMathBot

This is a bot originally made for keeping track of whenever the newest exercise came out for the subject MA0301

In order to make the bot functional, it needs a configuration file at src/Bot/config.json that looks like this:

{
  "BotToken": "<secret discord bot token>",
  "Class": "ma0301",
  "Year": "2021v",
  "SecondsBetweenUpdate": 3600.0
}

The class and year variables are part of the url to the page:

https://wiki.math.ntnu.no/<class>/<year>/start

The project can be run by executing dotnet run from within the src/Bot directory