A Discord bot for Uppsala students!
- Jokes and poetry
- Weather information
- Retrieving information from canvas/studium
- Clone the repository
- Create a .env file in the repositry containing the following text: DISCORD_TOKEN= "" , replace the "" with your discord token
- Go in to Canvas.hs and add your canvas api token to the canvas_token variable
- Run cabal repl
- Run the main function in Main.hs
- Load the Tests module
- Run the runTests function
NOTE: Missing dependencies may have to be installed for the program to work. To install these run the "cabal repl" command. If anything is missing it will be displayed. To install the missing dependencies write " cabal install "DEPENDENCY" ".
Cabal repl may have you end up on modules other than main, if so use ":l main" to fix this.