-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Spatulox edited this page Aug 27, 2026
·
5 revisions
DiscordBotTemplate is a ready-to-use discord.js bot starter written in TypeScript. Login, logging, module toggling, interaction routing and command deployment are already wired. The repository only contains what is specific to your bot.
The wiki have been AI Generated based on the code and manually reviewed and updated.
The template is the top of a small ecosystem. It imports two packages, which themselves share a common utility package, and it drives one CLI :
DiscordBotTemplate <-- you are here
| |
@spatulox/simplediscordbot @spatulox/discord-module
| |
+-----+------+
|
@spatulox/utils
dim (DiscordInteractionManager CLI, run by hand)
Everything the template does is explained here as the template uses it, then hands off to the wiki of the repository that owns the concept.
| Repository | Owns | Documentation |
|---|---|---|
| DiscordBotTemplate | the starter itself, handler/ conventions, register classes |
this wiki |
| SimpleDiscordBot |
Bot, BotEnv, EmbedManager, GuildManager, DiscordRegex, SimpleColor
|
wiki |
| discord-module |
Module, ModuleManager, ModuleUI, InteractionsManager
|
wiki |
| DiscordInteractionManager | the dim CLI that generates and deploys the interaction json |
README |
| utils |
Time, Log, FileManager, CacheManager, SimpleMutex
|
wiki |
- 01 - Getting Started : from an empty Discord application to a bot online
- 02 - Project Layout : what every file is for, and which ones you edit
- 03 - Interactions : adding a slash command, a button, a modal
- 04 - Modules : toggleable features and the ModuleUI panel
- 05 - Dev vs Prod : running a dev bot and a prod bot side by side
-
06 - Multi Bot : several bots in one repository (
feat/multi-bot) - 07 - The Ecosystem : where each class lives, and which wiki to open
| Branch | What it is |
|---|---|
main |
one bot, the default, and what most of this wiki describes |
feat/multi-bot |
several bots in one repository, with a shared src/share/ folder |
Feel free to ask any question on the Discord
- 01 - Getting Started
- 02 - Project Layout
- 03 - Interactions
- 04 - Modules
- 05 - Dev vs Prod
- 06 - Multi Bot
- 07 - The Ecosystem
Ecosystem
-
SimpleDiscordBot :
Bot, managers - discord-module : modules, interactions
-
DiscordInteractionManager : the
dimCLI -
utils :
Time,Log, caches