All Projects → discord-rose → discord-rose

discord-rose / discord-rose

Licence: other
The simple Discord library for advanced users

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to discord-rose

Discord-Selfbot
Discord.js selfbot
Stars: ✭ 24 (-35.14%)
Mutual labels:  discord-api, discord-library, discord-js
Hurricano
An amazing open-source Discord bot using MongoDB with many features such as a customizable prefix, a reaction menu, music, role requirement giveaways and much more!
Stars: ✭ 97 (+162.16%)
Mutual labels:  discord-api, discord-js
Discord-Presser-Server-Nuker
Nuke Discord Bot in Js (Beta has arrived)
Stars: ✭ 253 (+583.78%)
Mutual labels:  discord-api, discord-js
Discord-BOT-Dashboard-V2
Discord BOT Dashboard V2 is made to make Discord BOT Development easy, designed to help create applications without writing a single line of code while using a user friendly Web-Dashboard!
Stars: ✭ 120 (+224.32%)
Mutual labels:  discord-api, discord-js
arcscord
A Discord library written in typescript
Stars: ✭ 18 (-51.35%)
Mutual labels:  discord-api, discord-library
discord-super-utils
A modern python module including many useful features that make discord bot programming extremely easy.
Stars: ✭ 106 (+186.49%)
Mutual labels:  discord-api, discord-js
Karuma
Karuma is a Discord Bot including Nukes, Raids, Mass DM and other features. Only for educational purposes 🥱🚀
Stars: ✭ 132 (+256.76%)
Mutual labels:  discord-api, discord-js
calamity
A library for writing discord bots in haskell
Stars: ✭ 77 (+108.11%)
Mutual labels:  discord-api, discord-library
disml
Pure OCaml bindings to the Discord API. Mirror of Gitlab repo.
Stars: ✭ 36 (-2.7%)
Mutual labels:  discord-api, discord-library
opensource-discordbots
Curated list of awesome open-source Discord Bots
Stars: ✭ 19 (-48.65%)
Mutual labels:  discord-api, discord-js
Commando-guide
Beginner's guide for discord.js-commando.
Stars: ✭ 56 (+51.35%)
Mutual labels:  discord-api, discord-js
slash-commands
slash commands handler to make your bot support slash commands.
Stars: ✭ 59 (+59.46%)
Mutual labels:  discord-api, discord-js
DiscordBot-Template
A bot template with command , event , button , selectmenus , slashcommands handler and error handlers. Made in Discord.JS V13
Stars: ✭ 131 (+254.05%)
Mutual labels:  discord-api, discord-js
Aometry
An awesome multipurpose discord bot build using discord.js v13 with support for slash commands and context menus
Stars: ✭ 51 (+37.84%)
Mutual labels:  discord-api, discord-js
Luki
[Deprecated] The official repository for Luki the Discord bot
Stars: ✭ 21 (-43.24%)
Mutual labels:  discord-api, discord-js
library
🐍 A Python library for Discord.
Stars: ✭ 648 (+1651.35%)
Mutual labels:  discord-api, discord-library
discord-clock
A simple clock script for your bot to show what time it is in your server | Discord.js v13 ready!
Stars: ✭ 29 (-21.62%)
Mutual labels:  discord-api, discord-js
MaSH
A minimalistic Discord API wrapper made in Posix Shell
Stars: ✭ 22 (-40.54%)
Mutual labels:  discord-api, discord-library
Discord.js-V12-Bot-Tutorial
An Discord bot build in Discord.js V12. Features :- Anime, Chatbot, Fun, Info, Moderation, Music, Developer commands and many more coming soon.
Stars: ✭ 46 (+24.32%)
Mutual labels:  discord-api, discord-js
Discord.CPP
Discord.CPP is a C++ library for interaction with the Discord API.
Stars: ✭ 46 (+24.32%)
Mutual labels:  discord-api, discord-library

Discord-Rose

The simple Discord library for advanced users.

Installation

Run npm i --save discord-rose

Links

Wiki Docs

Support Server

NPM, GitHub

Simple bot

You can easily use the SingleWorker class for easy use of discord-rose, for scaled solution, look below

./index.js

const { SingleWorker } = require('discord-rose')

const worker = new SingleWorker({
  token: 'BOT TOKEN'
})

worker.commands
  .prefix('!')
  .add({
    command: 'hello',
    exec: (ctx) => {
      ctx.reply('World!')
    }
  })

Scaled Bot

You can instead use a Master & Worker solution, one master managing multiple workers/clusters, which hold x amount of shards, making it much more efficient.

./master.js

const { Master } = require('discord-rose')
const path = require('path')

const master = new Master(path.resolve(__dirname, './worker.js'), {
  token: 'BOT TOKEN'
})

master.start()

./worker.js

const { Worker } = require('discord-rose')

const worker = new Worker()

worker.commands
  .prefix('!')
  .add({
    command: 'hello',
    exec: (ctx) => {
      ctx.reply('World!')
    }
  })

Do node ./master.js and you're off to the races. Scaled automatically.

Do note if your bot only ever fits into 1 cluster (< 5000 servers by default), you should consider using SingleWorker since master & worker introduce more process overhead

You can even easily implement slash commands directly within message commands.

Ready to take it to the next level? Take a look out our Wiki

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].