General purpose Discord bot
Go to file
Dylan Martini 9775889c66 george 2024-04-25 18:34:01 -05:00
Source george 2024-04-25 18:34:01 -05:00
.editorconfig Standardize formatting 2023-08-21 23:47:38 +01:00
.gitignore v1.8.1 2023-05-25 00:41:26 -05:00
HBot.csproj BALLS OVER 2024-04-23 16:37:54 -05:00
HBot.sln Standardize formatting 2023-08-21 23:47:38 +01:00
LICENSE.md Initial commit 2020-11-17 13:12:07 -05:00
README.md BALLS OVER 2024-04-23 16:37:54 -05:00

README.md

HBot

General purpose Discord bot, made with DSharpPlus. Originally based on NetRunner + WinBot.

Usage instructions

Requirements:

  • .NET 8.0

Building and running:

  1. Clone the repository: https://git.hiden.cc/scythe/HBot.git and move into the project directory: cd HBot
  2. Build the source code: dotnet build -c Release
  3. Change into the build directory: cd bin/Release/net7.0/
  4. Run the bot: ./HBot or just HBot for Windows. This will generate a blank configuration file for you.
  5. Edit config.json to your liking.
  6. 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.

Post-install instructions:

For the level rank cards to work correctly, you'll need to install Roboto. Due to some annoyances with System.Drawing, you have to install it twice in a way.

  1. Download the font family https://fonts.google.com/specimen/Roboto
  2. Extract Roboto-Regular.ttf into the bot's working directory
  3. Install Roboto-Regular.ttf on your system

Contributing

Contributing to the bot is greatly appreciated and very much encouraged. Just make sure it follows these guidelines:

  • All commits MUST be descriptive. List every change you made (if it doesn't fit in the message, put it in the description thingy). I want to know what you changed, obviously :P. Same with PRs as well.
  • Follow general common sense (don't do anything illegal or include any malicious code, among other things), duh!