0.9.26 ā€¢ Published 1 month ago

@roboplay/robo.js v0.9.26

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

GitHub license npm install size Discord All Contributors

Turbocharge Discord.js with effortless power! āš”

Upgrade your bots with next-gen simplicity, snappy plugin system, epic debugging, and Sage's streamlined interactions, all while keeping Discord.js' power. šŸš€āœØ

Heads up! This is a pre-release, so brace for some breaking changes before v1.0. šŸš§

Documentation

Get well-versed with Robo.js and unlock its full potential!

āžž šŸ“š Documentation: Getting started

āžž šŸ“– Tutorial: Making a "To-do" Robo

āžž šŸš€ Community: Join our Discord server

Quick start

Kickstart your own Robo.js bot with our super-helpful CLI:

npx create-robo my-awesome-bot

We'll walk you through a breezy customization process and whip up a fully working template in no time!

Upgrading an existing bot

Got a bot that's simple or loaded with complexity? No worries! We've whipped up three migration paths that cater to all bot types. For the full lowdown, our migration guide is ready and waiting. Pick the path that makes your bot's transition smoother than butter on a hot day.

āžž šŸ“š Documentation: Migration guide

Epic Simplicity

Robo.js dishes out Discord.js goodness with a focus on simplicity, making it easy-peasy to craft bots that truly sparkle ā€“ all without compromises! šŸŒŸ

  • Easy-peasy: No fuss, just a smooth start to bot development, so you can focus on crafting cool features.
  • Built-in awesomeness: Commands, events, plugins - it's all there, ready to create bots that pack a punch.
  • Sage's helping hand: Sage simplifies command interaction and offers smart error replies, making debugging a breeze.
  • Customizable & scalable: Adjust, grow, and adapt your bot as needed with Robo.js's flexibility.
  • Community power: Tap into the know-how and support of the Discord.js community.

Usage

Crafting a simple Robo is a piece of cake! First, whip up a /ping command by creating a ping.js file in your /src/commands folder:

export default () => {
	return 'Pong!'
}

Miss your interaction object? No worries, it's still got your back! Here's another example using interaction.reply:

export default (interaction) => {
	interaction.reply('Pong!')
}

For events, say you want to listen to messageCreate events. Create a messageCreate.js file inside your /src/events folder:

export default (message) => {
	if (message.content.includes('hello')) {
		message.channel.send('Hello there!')
	}
}

Following the above examples, your file structure should look a lil' something like this:

src/
ā”œā”€ā”€ commands/
ā”‚   ā””ā”€ā”€ ping.js
ā””ā”€ā”€ events/
    ā””ā”€ā”€ messageCreate.js

Before you get your Robo rockin', update your .env with DISCORD_TOKEN and DISCORD_CLIENT_ID. Then, hit robo dev and let the show begin! Seriously, that's it!

Crave more power? Check the Documentation! šŸ”„

No Learning Curve

Get ready for a twist - there's virtually no learning curve with Robo.js!

Wait, is it actually an... inverse learning curve? You heard right, there's more to unlearn than learn! It's that simple, yet you still have access to all that Discord.js has to offer, just easier and with less code. šŸŽ‰

License šŸ“œ

We're all about freedom, so we've got you covered with the permissive MIT License! Go wild and build amazing bots without worrying about legalities.

0.9.26

1 month ago

0.9.25

2 months ago

0.9.24

2 months ago

0.9.23

3 months ago

0.9.22

3 months ago

0.9.21

4 months ago

0.9.18

4 months ago

0.9.19

4 months ago

0.9.20

4 months ago

0.9.17

4 months ago

0.9.14

5 months ago

0.9.15

5 months ago

0.9.16

5 months ago

0.9.12

5 months ago

0.9.13

5 months ago

0.9.8

6 months ago

0.9.7

6 months ago

0.9.9

6 months ago

0.9.4

7 months ago

0.9.3

7 months ago

0.9.10

6 months ago

0.9.6

7 months ago

0.8.7

10 months ago

0.9.11

6 months ago

0.9.5

7 months ago

0.9.0

8 months ago

0.9.2

8 months ago

0.9.1

8 months ago

0.9.0-1

8 months ago

0.8.6

11 months ago

0.8.5

11 months ago

0.8.4

11 months ago

0.8.1

11 months ago

0.8.0

11 months ago

0.7.1

12 months ago

0.5.3

1 year ago

0.8.3

11 months ago

0.8.2

11 months ago

0.5.0

1 year ago

0.4.1

1 year ago

0.7.0

12 months ago

0.6.1

12 months ago

0.5.2

1 year ago

0.6.0

12 months ago

0.5.1

1 year ago

0.4.2

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago