Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wave-play/robo.js
Power up Discord with effortless activities, bots, servers, and more! β‘
https://github.com/wave-play/robo.js
discord discord-bot discord-bot-framework discord-js framework hacktoberfest hacktoberfest2024 hacktoberfest24 roboplay typescript waveplay
Last synced: 5 days ago
JSON representation
Power up Discord with effortless activities, bots, servers, and more! β‘
- Host: GitHub
- URL: https://github.com/wave-play/robo.js
- Owner: Wave-Play
- License: mit
- Created: 2023-03-31T16:07:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-20T08:24:54.000Z (7 days ago)
- Last Synced: 2024-12-20T08:32:48.254Z (7 days ago)
- Topics: discord, discord-bot, discord-bot-framework, discord-js, framework, hacktoberfest, hacktoberfest2024, hacktoberfest24, roboplay, typescript, waveplay
- Language: TypeScript
- Homepage: https://robojs.dev
- Size: 52.9 MB
- Stars: 51
- Watchers: 4
- Forks: 24
- Open Issues: 67
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
β¨π Hacktoberfest 2024 - Build stuff, win free swag πβ¨
---
Robo.js
[![GitHub license](https://img.shields.io/github/license/Wave-Play/robo)](https://github.com/Wave-Play/robo/blob/main/LICENSE) [![npm](https://img.shields.io/npm/v/robo.js)](https://www.npmjs.com/package/robo.js) [![install size](https://packagephobia.com/badge?p=robo.js@latest)](https://packagephobia.com/result?p=robo.js@latest) [![Discord](https://img.shields.io/discord/1087134933908193330?color=7289da)](https://roboplay.dev/discord) [![All Contributors](https://img.shields.io/github/all-contributors/Wave-Play/robo.js?color=cf7cfc)](#contributors)
**Power up Discord with effortless activities, bots, web servers, and more!** β‘
Upgrade your Discord projects with effortless integration, dynamic plugins, and advanced debuggingβunlocking the full potential of Discord.js and beyond. πβ¨
> **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](https://docs.roboplay.dev/docs/getting-started)
β [π **Tutorial:** Making a "To-do" Robo](https://blog.waveplay.com/how-to-make-a-discord-robo)
β [π **Community:** Join our Discord server](https://roboplay.dev/discord)
## Quick start
Kickstart your own Robo.js bot with our super-helpful CLI:
```bash
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](https://docs.roboplay.dev/docs/migrating)
## 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:
```javascript
export default () => {
return 'Pong!'
}
```Miss your interaction object? No worries, it's still got your back! Here's another example using `interaction.reply`:
```javascript
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:
```javascript
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**](https://docs.roboplay.dev/docs/getting-started)! π₯
### 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](LICENSE)**! Go wild and build amazing bots without worrying about legalities.
## Contributors
Pkmmte Xeleon
β¨ π» π§
Alexander
β¨ π» π§
Mouiz
π
Matej BoΕ‘njak
π
Arnav K
π‘ π π π»
waru
π»
RenΓ©
π»
Add your contributions