Generate your Discord bot's base with all your desired functions at the ready
- Easily make a base for your Discord bot with CLI or config file
- Base commands are included by default
- If you want a bot from scratch, pass
scratch
onbase_user_functions
andnone
onbase_bg_functions
andexternal_packages
- If you want a bot from scratch, pass
- Multiple choices for pre-written user-side interactions:
- Bot maintenance comfort functions
(redeploy if C++, restart if TS/JS or Python, debug, etc.) - Server management (roles, channels, etc.)
- Member management (ban, kick, timeout, etc.)
- Fun & games (economy and related)
- Alternate reality game (Enigma-like puzzle capabilities)
- Bot maintenance comfort functions
- Multiple choices for pre-written background interactions:
- File management
- Update via Git pull (connected to bot maintenance)
- SQL database management via SQLite
- Engagement logging (message, voice chat, etc.)
- Watchdog (in case of any suspicious users)
- Add external packages for DBF to include in your bot base
- Bot bases available in multiple programming languages that have a Discord wrapper/library
- C++ with D++
- Node.js/TypeScript with Discord.js
- Python with Nextcord
- Others coming soon!
There are two ways you can use DBF.
You can make your base directly from the command-line application by executing it without options like so:
dbf
This brings up a setup prompt asking you for certain things related to your bot. Fill those in, and it should generate a new folder for your bot with files in your desired configuration and in your desired programming language.
Alternatively, you can tell dbf
what you want done on a dbf.cfg
file formatted like so:
language: cpp
name: mybot
licence: mit
init_readme: true
intents: default/(intents)/all
base_user_functions:
maintenance
server_management
member_management
fun_and_games
message_handling
base_bg_functions:
sql_database_management
engagement_logging
watchdog
external_packages:
sqlite3
csv_parser
Then, in your terminal, cd
to the directory where dbf.cfg
is located, and execute the following command:
dbf --build-from-config
It will now generate a base according to your configuration file.
If you are, however, working on a Node.js/TypeScript project, there are some more variables involved.
Your JS/TS config file would look like this:
language: (js/ts)
name: mybot
licence: mit
init_readme: true
intents: default/(intents)/all
version: 1.0.0
description: A Discord bot
base_user_functions:
maintenance
server_management
member_management
fun_and_games
message_handling
base_bg_functions:
sql_database_management
engagement_logging
watchdog
external_packages:
sqlite3