Skip to content

Compatibility layer for Discord.js bots to port themselves to Revolt.

License

Notifications You must be signed in to change notification settings

revoltrejectorg/reject.js

Repository files navigation

reject.js

IMPORTANT NOTICE!

Reject.js is EOL and will not receive any further updates.

For developers wishing to still port their bot to Revolt, it is recommended you use Reflectcord instead. It features higher performance is constantly updated, and supports features that Reject could never support (ex. low level gateway and api operations)

Reject is a compatibility layer for Discord.js developers wanting to port their bots to Revolt. It provides a fast, simple wrapper to simplify moving your code over without any loss in speed.

Project Status

Reject covers most of the standard Discord.js API that bots would be interacting with. Right now, if your bot doesn't make use of any low-level API's, all that needs to be done on your codebase is logging into Revolt, and passing its events through Reject.

Examples

Examples can be found here

FAQ

How can I detect Reject?

The easiest way to detect Reject is to see if the Discord.js class you're receiving has the isRevolt property.

About

Compatibility layer for Discord.js bots to port themselves to Revolt.

Resources

License

Stars

Watchers

Forks

Packages