{"repo":"detritusjs/client","free":true,"listed":false,"github":"https://github.com/detritusjs/client","clone":"git clone https://github.com/detritusjs/client.git","description":"A Typescript NodeJS library to interact with Discord's API, both Rest and Gateway.","language":"TypeScript","stars":209,"topics":["discord","discord-api","typescript","bot","detritus","node"],"license":"BSD-2-Clause","category":"chat-messaging","readme_excerpt":"Detritus A wheels-attached, pure-TypeScript library for the Discord API. - API Documentation - Discord Help Server - npm Installation Detritus is distributed via npm. A high-level wrapper over the Discord API is provided in this package, detritus-client . Low-level wrappers over Discord's REST API and Gateway are provided through detritus-client-rest and detritus-client-socket . - $ npm i detritus-client - $ yarn add detritus-client Usage Detritus is operated through the Clients classes: - ShardClient provides a base client for connecting to the Discord API and receiving events. - ClusterClient provides a client that creates ShardClient classes inside of it for easier sharding - CommandClient wraps over the ClusterClient or ShardClient to provide support for bot commands. - InteractionCommandClient wraps over the ClusterClient or ShardClient to provide support for interaction commands. - ClusterManager provides a manager that'll spawn in multiple ClusterClient processes for big shardings More Examples are provided under the examples/ directory. Command Client Sample InteractionCommand Client Sample Shard Client Sample Cluster Client Sample Contributing Detritus is licensed under the BSD-2 license; see the LICENSE. To contribute, please first open an issue describing your requested changes, and then open a pull request.","default_branch":null,"files":null,"tree":[],"storefront":"/r/detritusjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/detritusjs/client/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}