Skip to content
Spatulox edited this page Aug 27, 2026 · 5 revisions

Welcome to the DiscordBotTemplate wiki !

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 stack

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

This wiki provides


Two branches

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

Clone this wiki locally