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-jsThen navigate into your project directory:
cd <project-name>Run development mode:
npm run devDevelopment
Creating a Slash Command is as easy as creating files.
.env
export default (interaction) => {
interaction.reply('Hello World!')
}export default (interaction) => {
interaction.reply('Hello World!')
}Your /hello command is now ready to use!
Slash Commands
Your bot follows best practices by default.
Events
Know and respond to everything that happens.
Hosting
npm run deploy