Skip to content
/ framework Public template

TypeScript framework in TypeScript includes an advanced command handler, a cli to generate files, a very practical file structure, a yargs based argument system for commands, an advanced Eval command, a Knex based database provider and some utils...

Notifications You must be signed in to change notification settings

bot-ts/framework

Repository files navigation

@ghom/bot.ts

A Discord bot in TypeScript made with bot.ts

Discord server CLI version CLI downloads Tests Dependency status Discord.js version Github stars

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

About

TypeScript framework in TypeScript includes an advanced command handler, a cli to generate files, a very practical file structure, a yargs based argument system for commands, an advanced Eval command, a Knex based database provider and some utils...

Topics

Resources

Stars

Watchers

Forks