Installation

To install bot.ts, please read these instructions very carefully

Prerequisites

First, you need to make sure that you have an environment compatible with bot.ts.

  • Node ^=22.x.x

  • NPM ^=9.x.x

Install the CLI

To install bot.ts, you must first install globaly the CLI with the following command.

npm i -g @ghom/bot.ts-cli@latest

Then you can run the bot new command and let yourself be guided.

The token is requested as part of the framework configuration; you can view the code handling your token by clicking here.

The connection data to your database are all editable in the .env file after the build.

Now is installed

You can now do the following command to go to the root of your project!

cd "bot-name"

Last updated