A lightweight Discord bot for scheduling TTRPG sessions with automatic reminders.
/session create— Schedule a new session with a title, date/time, and timezone/session list— View all upcoming sessions/session cancel— Cancel an upcoming session by ID- 24-hour reminder — Automatically pings
@everyoneone day before a session - Start reminder — Pings
@everyonewhen the session time arrives
- Go to discord.com/developers/applications
- Click New Application and give it a name
- Go to Bot → click Reset Token → copy the token
- Go to OAuth2 → copy the Client ID
- Under Bot → enable the Server Members Intent if you want
@everyonepings to work
Generate an invite URL under OAuth2 → URL Generator:
- Scopes:
bot,applications.commands - Permissions:
Send Messages,Embed Links,Mention Everyone
cp .env.example .env
# Edit .env with your token and client ID# Install dependencies
bun install
# Register slash commands (run once, or after changing commands)
bun run src/deploy-commands.ts
# Start the bot
bun run index.ts| Command | Description |
|---|---|
/session create title:"Session 12" date:"2026-03-15 19:00" timezone:"Europe/Rome" |
Schedule a session |
/session list |
Show upcoming sessions |
/session cancel id:"abc12345" |
Cancel a session |
- Recurring Sessions — set up automatic session scheduling for campaigns
- Runtime: Bun
- Bot framework: discord.js v14
- Scheduler: node-cron
- Storage: JSON file (lightweight, no database needed)