mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 07:20:08 +00:00
ff279f525b2dbae992a159546c19c1f97dc0c553
Discordeno
Discord API library wrapper in Deno
TODO
- Review compression of payloads with GZIP
- Handle checking if guild is unavailable before taking guild related actions.
Bot Boilerplate Template / Frameworks
If you are just starting out, you can use the Discordeno Template repo to get the base of your bot pre-built for you. As other developers create other command frameworks for this library, those frameworks will be listed here:
Official Boilerplate: This is a very minimalistic design for a boilerplate for your bot to get you started.
Motivations/Features
This project began out of the desire to want to learn and enhance my developer skills. As I was building it, I encountered so many issues that other libraries have that I wanted to change in my library.
- TYPESCRIPT:
- First class support for Typescript!
- SECURITY:
- Check all permissions necessary before sending a request to the API.
- Prevent supporting self-bots and abusive behavior.
- Functional API:
- This will overall make a cleaner and more performant API, while removing the headaches of extending built-in classes, and inheritance.
- Avoid as many headaches and issues related to
classandthis - Avoid EventEmitter to not have potential of memory leaks or bot crashes because of too many listeners or other silly issues.
- Avoid for loops, while loops etc...
- MINIMALISTIC:
- Prevent as many "options" for the sake of customizability. Prefer defaults that Discord recommends.
- DOCUMENTATION:
- All of Discord API Documentation available inside your VSC while you code.
- The entire libraries documentation is automatically available to you throw intellisense.
- LATEST AND GREATEST JAVASCRIPT:
- Backwards compatibility is the death of code. It causes clutter and uglyness to pile up and makes developers lazier.
- There will be no such thing as backwards compatibility reasons in Discordeno.
- We will always support the latest and greatest of JS. The end!
- That said, we don't expect many things to be changing drastically after v1. As you can imagine Typescript allows the latest and greatest of JS so we will be ahead of the curve for years to come.
Description
Languages
TypeScript
98%
MDX
0.7%
CSS
0.6%
JavaScript
0.6%
Dockerfile
0.1%