npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@roboplay/robo.js

v0.9.26

Published

Turbocharge Discord.js with effortless power!

Downloads

199

Readme

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.