Skip to content

commonly-ts/discord-bot-template

Repository files navigation

Requirements

  • Node.js 18+ (20+ recommended)
  • pnpm package manager
  • Recommended basic TypeScript knowledge

Quick start

git clone https://github.com/commonly-ts/discord-bot-template.git
cd discord-bot-template

pnpm install    # Install packages

# Recommended pre-build scripts
pnpm format     # Format every file with Prettier
pnpm lint       # Check for linting issues
pnpm typecheck  # Check for any type errors

pnpm build      # Build into lib/

# Remember to rename "temp.env" to ".env" before entering your secrets!
pnpm dev        # Run the bot locally

About

Functional template Discord bot using the Trivious framework

Resources

Stars

Watchers

Forks

Contributors