Skip to content
bot-tsPublic

About

The dev environment for bot.ts framework and tools (discord.js framework for bun and node in typescript)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation


What is bot.ts?

bot.ts is a framework for discord.js designed in TypeScript for use in TypeScript. This framework includes all the features you need, here is a list:

  • Package Manager Agnostic: Compatible with npm, yarn, pnpm and more.
  • Multi-Runtime Support: Fully compatible with Node.js, Bun, and Deno.
  • File Handling: Robust file handling using @ghom/handler.
  • CLI File Generation: Easy and powerful file generation using @ghom/bot.ts-cli.
  • Node Aliases: Simplify module resolution with useful path aliases using Node.js 'imports'.
  • Shell Arguments: Handle type-safe shell arguments on textual commands using Yargs.
  • Predefined Commands & Listeners: Ready-to-use owner-only commands and system listeners.
  • Advanced Scripts: Configured advanced dev tools in package.json's scripts and CLI.
  • Database: A built-in Knex-based ORM compatible with PostgreSQL, Mysql and SQLite: @ghom/orm.
  • Pagination: Efficient pagination in the help command.
  • Fastest Experience: Build fast with Rollup and lint fast with Biome.
  • TypeScript Checks: Generated CI/CD using GitHub Actions.
  • Nice Logging: Beautiful console logging using @ghom/logger.
  • Framework Updates: Stay up to date with the integrated updater.
  • Docker: Run with Docker via Dockerfile or compose.yml.
  • Data Caching: Reduce database and API requests with built-in caching.

What's next?

  • Localhost Admin Dashboard
  • Data Caching imporovement
  • Make optional the textual command system
  • Publish the CLI as JSR package
  • Use Mintlify as documentation

Why using bot.ts?

Modern, intuitive, and easy to use. Choosing Bot.ts is choosing control.

  • It's not a lib! You can edit all files easily.
  • All is already configured.
  • I recommend it for learning TypeScript.
  • It is up to date with all technologies.

Hello World

bot.ts hello world

Annexes

Funding

Buy Me A Coffee

About

The dev environment for bot.ts framework and tools (discord.js framework for bun and node in typescript)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages