| Game |
Category |
Mode |
| Portal 2 |
NoSLA |
Singleplayer |
| Portal 2 |
Amc |
Coop |
| Portal 2 |
Challenge Mode Points |
Singleplayer |
| Portal 2 |
Least Portals |
Singleplayer |
| Portal 2 Speedrun Mod |
Singleplayer |
Singleplayer |
| Portal Stories: Mel |
Story Mode Inbounds |
Singleplayer |
The leaderboards part of the bot is an automatic way to fetch users pbs from speedrun.com and board.portal2.sr for the added users. To do this, the bot goes through the following stages.
- Build url to make api requests to each website
- Make an api request for each added user
- Parse the request response
- If the result is from speedrun.com, clean the time to "standard notation" and only save specified categories
- Clean duplicate runs and only save best run from each player
- Build the embed
- Post / edit message
- Using the command prompt, navigate to the folder containing the solution file (FireFetcher.sln)
- Run
dotnet publish -c release -r ubuntu.16.04-x64 --self-contained
- Copy the publish folder (../bin/Release/net6.0/ubuntu.16.04-x64/publish) to the Ubuntu machine
- Open the Ubuntu machine terminal (CLI) and go to the project directory
- Provide execute permissions:
chmod +x ./FireFetcher
- Execute the application by running
./FireFetcher
| Index |
Category |
| 0 |
NoSLA |
| 1 |
Amc |
| 2 |
Srm |
| 3 |
PS: Mel |
| 4 |
SP CM |
| 5 |
SP LP |