This bot is based on Discord.Net. It's aim is to give a global multiplayer lobby experience. It makes use of the Master Server and Resource Center APIs. This is inspired by the much more sophisticated OraBot project.
The project was made using Visual Studio 2017, and targets .NET Core 3.1. You will need one of the following to open and build the projects:
- Visual Studio 2019 Community with .NET Core cross-platform development installed.
- Visual Studio Code with C# extension.
You will also need to install .NET Core 3.1 SDK in both cases.
- Go to Applications page on Discord Developer portal.
- Press the New Application button.
- New Application page will open. Enter the bot's name in the name field.
- When you're done, press the create button.
- When the app is created, jump to the bot section and press the add bot button.
- Once this is done, you will need to copy the bot's token. Under app bot user, there's a token field, press copy the resulting value.
- Open the project, select the startup bot, and compile it.
- Go to
HardVacuumBot
and editApp.config
with the token. Server
andLobbyChannel
require the IDs from Discord.
- Go back to the app page, and copy the bot's client ID.
- Go to
https://discordapp.com/oauth2/authorize?client_id=the_app_id_here&scope=bot&permissions=0
. - On the page, select the server (1), and press authorize (2).
- Verify that you are not a robot and you're done! You can now run the bot!