forked from undergr0und/HBot
General purpose Discord bot
adsfjhsfsf
- C# 100%
| Source | ||
| .editorconfig | ||
| .gitignore | ||
| HBot.csproj | ||
| HBot.sln | ||
| LICENSE.md | ||
| README.md | ||
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:
- Clone the repository:
https://git.hiden.pw/scythe/HBot.gitand move into the project directory:cd HBot - Build the source code:
dotnet build -c Release - Change into the build directory:
cd bin/Release/net7.0/ - Run the bot:
./HBotor justHBotfor Windows. This will generate a blank configuration file for you. - Edit
config.jsonto your liking. - 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.
- 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
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!