Files
omo-bot/.env.example
T
zwitschi a402c7b0bb feat: initialize Discord bot project with basic command structure
- Add package.json with dependencies and scripts for building, testing, and running the bot.
- Implement bot startup logic in src/bot.ts, handling interactions and commands.
- Create command structure in src/commands/index.ts, including a ping command in src/commands/ping.ts.
- Add configuration loading from environment variables in src/config.ts.
- Implement command registration in Discord API in src/deploy-commands.ts.
- Bootstrap the bot in src/index.ts.
- Configure TypeScript settings in tsconfig.json.
2026-05-17 15:52:39 +02:00

5 lines
133 B
Bash

DISCORD_TOKEN=
DISCORD_CLIENT_ID=
# Optional. If set, command registration targets this guild for instant updates.
DISCORD_GUILD_ID=