Webscraping discord bot, updating you when a new math assignment is out
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
h7x4 e1d0b3b1b6 Disable debug logs 2 years ago
.icon Add icons 2 years ago
src/Bot Disable debug logs 2 years ago
.dockerignore Add docker file 2 years ago
.gitignore Add files from ionide 2 years ago
Dockerfile Add docker file 2 years ago
README.md Init commit 2 years ago
WikiMathBot.sln Init commit 2 years ago

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