Getting Started
Dive into the world of Robo.js, where developing Discord bots is more fun, easier, and seamlessly integrates with plugins. π
Quickstart πβ
The easiest way to get started with Robo.js is to use the interactive CLI. Run the following command in your terminal:
npx create-robo <projectName>
This command guides you through setting up a project tailored to your preferences, including TypeScript, linting, styling, and plugins.
Don't forget to replace <projectName>
with the desired name for your new Robo.
Upgrading Existing Project β«β
Depending on your bot's complexity, there are 3 smooth migration paths to choose from. Each tailored to make your bot's transition as seamless as possible.
Check out our migration guide for a detailed breakdown of the 3 migration options, and pick the one that suits your bot best. Get ready to level up your bot development experience!
β π See the full migration guide
Robo.js CLI Commands & Benefits β¨οΈβ
Boost your bot development with Robo.js' nifty CLI commands. Use robo dev
to run your project, automatically watch for changes, and restart. Plus, Robo.js takes care of those tricky lifecycle events to dodge common bot bugs. When you're set to deploy, just hit robo build
to compile and robo start
to launch production mode.
npx robo dev
Wanna know more? Check out the Command Line Interface documentation.
With Robo.js, there's no need for a separate script to register command updates. Sit back and relaxβRobo.js has got you covered!