NeoCord is currently in alpha, meaning it will probably be broken and might not work. If you want to contribute, please join our support server - It would be greatly appreciated.
Table of Contents
About
Neocord is a powerful and feature-rich discord library.
- Flexible: Gives you the ability to extend specific structures, customize caching to your needs.
- Coverage: Covers the Discord Gateway, API, CDN, and in the near future, Voice.
- Caching: Boasts the most powerful and flexible caching solution across most discord libraries.
Installation
As of 09/04/2020 (month/day/year), NeoCord can only be used with node.js v12 and up.
yarn add neocord
Optional Packages
These are some optional packages you can install.
-
Install zlib-sync or pako for data compression and inflation
-
erlpack for significantly faster websocket (de)serialization.
-
bufferutil for a much faster websocket connection.
And utf-8-validate for faster websocket processing.
Basic Usage
(typescript)
; ; client .on"ready",console.log"Now ready!" .on"messageCreate",; client.connect"your token here";
Links
- Support Server: discord.gg/5WD9KhF
- Github: https://github.com/neo-cord/neocord
- NPM: https://npmjs.com/neocord/
melike2d © 2020