Introduction

Welcome to the bot.ts official documentation.

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:

  • File Handling: @ghom/handler provides robust file handling capabilities.

  • CLI File Generation: Generate files effortlessly with @ghom/bot.ts-cli.

  • Argument Typing System: Utilize GhomKrosmonaute/prop-transfer-typings.ts for advanced argument typing.

  • App Importation: Import your entire app using NodeJS aliases with app.ts (import * as app from "#app").

  • Shell-Based Arguments: Seamlessly handle shell-based arguments with Yargs.

  • Predefined Commands and Listeners: Access a collection of essential commands and listeners, including an advanced "eval" command.

  • Package Scripts: Manage tasks with scripts in package.json. Full documentation available here.

  • Default ORM Configuration: Preconfigured Knex ORM with sqlite3 using @ghom/orm.

  • Efficient Pagination: Implement efficient pagination systems as shown in the help command.

  • Rapid Build Process: Experience build speeds faster than 100ms with ESBuild.

  • TypeScript Typing Checks: Automated GitHub Actions for TypeScript checks can be found here.

  • Beautiful Logging: Enhanced console logging with @ghom/logger.

  • Framework Updater: Update your framework seamlessly with Gulp.

  • Docker Support: Launch your bot using Docker with the provided Dockerfile or compose.yml.

Why using bot.ts ?

Code faster and without the hassle. 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 uses ESBuild for boosted productivity

Annexes

Last updated