yor.ts
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

Yor.ts

Yor.ts

A highly performant and typed library to make discord http based bots

GitHub License npm Discord

Features

  • 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.

Getting Started

Install Yor.ts using npm/yarn/pnpm/bun:

npm i yor.ts
yarn add yor.ts
pnpm add yor.ts
bun add yor.ts

Note

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.

Contributing

See contributing guide

Issues

See issues

Pull Requests

See pull requests

Support

Join our discord server: Discord

Documentation

See documentation guide

Changelog

See changelog

License

MIT

Special Thanks

  • discordjs for creating beautiful packages like rest/core

Maintainers

Package Sidebar

Install

npm i yor.ts

Weekly Downloads

1

Version

0.0.8

License

MIT

Unpacked Size

2.36 MB

Total Files

215

Last publish

Collaborators

  • oreoreki