A fork of CamK06's WinBot.
- Clone the repository:
https://github.com/nickandfloppy/NetRunner.git
and move into the project directory:cd NetRunner
- Build the source code:
dotnet build -c Release
- Change into the build directory:
cd bin/Release/net6.0/
- Run the bot:
./WinBot
or justWinBot
for Windows. This will generate a blank configuration file for you. - Edit the
config.json
file and update the options described below as required - Run the bot once more, as before. Once it has started up (It'll output "Ready" to the terminal), you should be good to go into Discord and use it.
token
: Your bot token (get one from the developer portal)prefix
: The bot command prefixstatus
: The game the bot should be "Playing"ids.hostGuild
: The ID of the guild where the log channel residesids.targetGuild
: The guild where the bot will be usedids.logChannel
: The ID of the channel where bot logs will be sent (in the host guild)ids.mutedRole
: The ID of the role given to users when they are mutedids.rssChannel
: The ID of the channel where RSS messages from WWRSS are sent (0 to disable)apiKeys.wikihowAPIKey
: Your WikiHow API key (get one from RapidAPI)apiKeys.catAPIKey
: Your TheCatAPI API key (get one here)apiKeys.weatherAPI
: Your WeatherAPI API key (get one here)minecraftServers
: An array of Minecraft servers. An example is provided in the default config and options are described below:
guildID
: The ID of the guild the server belongs to (one per guild)address
: The public address of the Minecraft serverdynmap
: The Dynmap address of the Minecraft server, blank to disableversions
: A string listing whatever versions the server supportscrackedInfo
: A string detailing whether the server supports cracked accounts or not
For the level rank cards to work you'll need to install Roboto. Due to some annoyances with System.Drawing you have to install it twice in a way. Steps:
- Download the font family https://fonts.google.com/specimen/Roboto
- Extract Roboto-Regular.ttf into the bot's working directory
- Install Roboto-Regular.ttf on your system
Note: This bot has been modified for use on 64-bit Windows and may not work out of the box. Some modifications to WinBot.csproj
maybe required.
For contribution guidelines, see CONTRIBUTING.md
This project is under the MIT Licence