Skip to content

UwUDev/discord-client-rs

Repository files navigation

Discord client RS

This repository contains a collection of crates that provide tools for building Discord clients in Rust.

It tends to provide a high-level API for interacting with Discord's real-time WebSocket API and REST API, as well as a collection of structs and enums that represent the data structures used by Discord's API.

Key Features

  • High-level API
  • Automatic reconnection
  • Event dispatching
  • Guilds subscribing
  • Zlib-stream decompression support for Discord's compressed payloads
  • TLS impersonation and HTTP/2 (H2) mimicing of Chrome to avoid detection
  • Undetectable by Discord's anti-bot mechanisms unless you do something stupid or spammy
  • Automatic heartbeat with sequence number handling
  • Captcha handling
  • Queue system and rate limiting

Crates

  • discord_client_gateway: A high-level Rust implementation of the Discord gateway, designed to provide a connection to Discord's real-time WebSocket API. See the README for more information.
  • discord_client_rest: A high-level Rust implementation of the Discord REST API, designed to provide a connection to Discord's HTTP API. See the README for more information.
  • discord_client_structs: A collection of structs and enums that represent the data structures used by Discord's API.

About

A collection of crates that provides tools for building Discord clients/selfbots in Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published