TypeScript Discord bot with slash commands.
- Install dependencies:
pnpm install- Create
.envfile:
cp .env.example .env- Add your bot credentials to
.env:
DISCORD_TOKEN=your_bot_token
CLIENT_ID=your_client_id
GUILD_ID=your_guild_id # optionalFirst time setup:
pnpm run registerThen start dev server with hot reload:
pnpm run dev/ping- Check bot latency/info- Bot information