LogoRobo.js
TemplatesDiscord bots

Starter (JavaScript)

A basic JavaScript Discord bot template using Robo.js.

Starter (JavaScript)

Welcome to your fresh Robo.js project!

Build, deploy, and maintain your Discord bots with ease. File-based setup, integrated database, and plugin ecosystem.

Getting Started

Create a project with this template:

npx create-robo@next <project-name> --template discord-bots/starter-js

Then navigate into your project directory:

cd <project-name>

Run development mode:

npm run dev

Development

Creating a Slash Command is as easy as creating files.

ping.js/ping
ready.js
robo.mjsMain config
.env
/src/commands/hello.ts
export default (interaction) => {
	interaction.reply('Hello World!')
}
/src/commands/hello.js
export default (interaction) => {
	interaction.reply('Hello World!')
}

Your /hello command is now ready to use!

Hosting

npm run deploy

On this page