- Performance: Designed to be highly efficient and performant, reducing the load on your server.
- Type Safety: Fully typed with TypeScript, providing better developer experience and catching errors at compile time.
- HTTP Based: Bypasses the traditional websocket connection, providing more stability and scalability.
- Easy to Use: Clear and comprehensive documentation, allowing developers of all experience levels to get started easily.
- Modular Design: The library is designed to be modular, letting you pick and choose the components you need for your bot.
- Cloudflare Workers Support: Capable of running on Cloudflare Workers, providing you with more hosting options.
- Interaction Support: Full support for Discord's new interaction features, including buttons and select menus.
Install Yor.ts using npm/yarn/pnpm/bun:
npm i yor.ts
yarn add yor.ts
pnpm add yor.ts
bun add yor.ts
Depending on where you're hosting your bot and what kind of provider you're using, you might need to polyfill some of the node libs to make it work. For example on cloudflare workers you will need to polyfill node:util
and node:url
in order to work. When you come across something like this, use esbuild and esbuild-node-polyfill to polyfill it.
See issues
See pull requests
Join our discord server: Discord
See changelog
MIT
- discordjs for creating beautiful packages like
rest
/core