A discord bot which can be built with different features included or not depending on use case
Project by: Finn
The repository is split into a source directory where all the source code is kept and a binary directory where pre-built binary is for building the bot from the php and other code. The C++ source should be compiled to produce the binary which is used to "build" the bot code base.
Usage: build-a-bot [-h/--help] [-c/--clean] [FEATURES] [(-t/--token TOKEN)/(--token=TOKEN)]
Options:
-c, --clean clean (delete) the bot files
-h, --help shows this message
-t, --token=TOKEN adds bot's TOKEN to the .env file, if not added here must be done manually
Features:
-b, --browser includes browser functionality in the bot
-m, --music includes functionality to play youtube videos in the bot
- clone the repo into a place of your choice
git clone https://github.com/finn1y/Build-a-Bot.git
-
Run the build binary (found in bin directory) for your system (note only Linux is currently available as a binary, windows can be compiled):
./build-a-bot [-h/--help] [-c/--clean] [FEATURES] [(-t/--token TOKEN)/(--token=TOKEN)]
.\build-a-bot [-h/--help] [-c/--clean] [FEATURES] [(-t/--token TOKEN)/(--token=TOKEN)]
./build-a-bot [-h/--help] [-c/--clean] [FEATURES] [(-t/--token TOKEN)/(--token=TOKEN)]
TOKEN is the "TOKEN" found in the Bot section of an application on the discord dev page
-
Run the bot
./main/run.sh
.\main\run.bat
-
Enjoy Your new bot's abilities!
A useful guide on how to create a discord bot from scratch can be found here. All that you need to do is follow the "Getting Started" step and use the token as the "TOKEN" mentioned in the install guide above.