Discord bots built with MeoCord, each a standalone app made with
npx meocord create <bot> --use-npm and grown from there. Every bot is tested on each change, with the meocord
version its lockfile pins and with the newest release.
| Bot | What it shows |
|---|---|
| feedback | A feedback form staff approve or reject: responses, presenters, guards, cooldowns |
| moderation | Warnings, timeouts and bans with a SQLite case log: subcommands, context menus, autocomplete, confirmation buttons, guards on rank and permission |
Each bot's README says what it shows and how to run it.
Every bot runs the same way. You need Node.js 22.13 or newer and a bot token from the Discord Developer Portal.
cd feedback
npm ci
cp .env.example .env # then set DISCORD_TOKEN in .env
npm run start:dev.env is ignored by git; never commit a token. Getting started
covers creating the Discord application and inviting the bot.
- CI runs each bot with its pinned meocord and with
meocord@lateston the newest Node LTS, withlateston Node 22.13, the oldest meocord supports, and with thebetarelease while one is newer thanlatest. Each run doesnpm ci,npm run lint,npm testandnpm run build:prod, then starts the built bot with no token and with one Discord refuses, and checks that it exits with MeoCord's message. No real token is used. It also runs daily, so a new meocord release that breaks a bot shows up there first. - Dependabot moves every bot to a new meocord release in one pull request.
- Template drift, weekly, compares each bot's tooling and config with what
meocord creategenerates today. A difference a bot means to keep is accepted intemplate-drift.jsonwith the reason: a new key in.env.example, a package.json field by its path, or any other file's exact diff by its hash. Anything else fails the run, which shows the diff and the entry to add if the difference is intended. Run it yourself withnode scripts/template-drift.mjs --check.
npx meocord create <bot> --use-npmat the repository's root, and commit it as generated.- Build the bot in its own folder, with its README and tests.
- Add its folder to the npm entry's
directoriesin.github/dependabot.yml; CI fails until it's there. - Accept in
template-drift.jsonwhat it changes in the template's files on purpose, asnode scripts/template-drift.mjs --check <bot>shows. - If it checks settings from
.envas it starts, give each one a made-up value inscripts/smoke-env.json, so the start check reaches the token.