General purpose Discord bot adsfjhsfsf
Find a file
2023-11-28 18:00:47 +00:00
Source Abandon all hope, ye who enter here. 2023-11-28 18:00:47 +00: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 Standardize formatting 2023-08-21 23:47:38 +01: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 2023-11-28 18:00:47 +00:00

HBot

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

Usage instructions

Requirements:

  • .NET 7.0
  • Roboto, Impact, and xband fonts

Officially supported OSes:

  • Windows 10 Anniversary Update or newer
  • macOS 10.15 or newer
  • Debian 10 or newer
  • Ubuntu 18.04 or newer
  • Fedora 36 or newer
  • Any other Linux distribution that supports .NET 7.0

You will not recieve technical assistance if you are using an unsupported OS, or if you're using a workaround to run this on an unsupported OS.

Building and running:

  1. Clone the repository: https://git.hiden.pw/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!