All Projects β†’ SpaceManiac β†’ Discord Rs

SpaceManiac / Discord Rs

Licence: mit
Rust library for the Discord chat client API

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Discord Rs

Figaro
Real-time voice-changer for voice-chat, etc. Will support many different voice-filters and features in the future. 🎡
Stars: ✭ 80 (-70.59%)
Mutual labels:  voice, discord
Disgord
Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
Stars: ✭ 277 (+1.84%)
Mutual labels:  voice, discord
Fluent-Discord
Currently in-development Fluent Discord theme.
Stars: ✭ 22 (-91.91%)
Mutual labels:  discord
Taiyakianime
Stream anime and synchronize with your MyAnimeList(MAL) + SIMKL + Anilist on iOS and Android devices
Stars: ✭ 259 (-4.78%)
Mutual labels:  discord
Gravebot
An awesome bot for Discord
Stars: ✭ 258 (-5.15%)
Mutual labels:  discord
discord-ui
A discord.py extension for sending, receiving and handling ui interactions in discord
Stars: ✭ 28 (-89.71%)
Mutual labels:  discord
Vmsg
🎡 Library for creating voice messages
Stars: ✭ 257 (-5.51%)
Mutual labels:  voice
disco-oauth
A library for easing the use of https://discordapp.com 's OAuth2 API
Stars: ✭ 30 (-88.97%)
Mutual labels:  discord
Mon2cam
Workaround for multi-monitor Discord screensharing
Stars: ✭ 268 (-1.47%)
Mutual labels:  discord
Loritta
πŸ’ A multipurpose, multilanguage, customizable, modular, and very cute bot for Discord using JDA! ~Making your server more awesome~
Stars: ✭ 253 (-6.99%)
Mutual labels:  discord
Noisetorch
Real-time microphone noise suppression on Linux.
Stars: ✭ 5,199 (+1811.4%)
Mutual labels:  voice
Discord-Nitro-Gen-Checker
Generate and check nitro gift codes, with proxies or not, without limits.
Stars: ✭ 26 (-90.44%)
Mutual labels:  discord
harmony
Harmony is a peaceful Go module for interacting with Discord's API
Stars: ✭ 99 (-63.6%)
Mutual labels:  discord
Txadmin
txAdmin - remotely manage&monitor your GTA5 FiveM Server
Stars: ✭ 262 (-3.68%)
Mutual labels:  discord
assister
Private Open General Assistant Platform
Stars: ✭ 42 (-84.56%)
Mutual labels:  voice
Skyhook
Parses webhooks and forwards them in the proper format to Discord.
Stars: ✭ 263 (-3.31%)
Mutual labels:  discord
cytrus-re
A multipurpose Discord bot!
Stars: ✭ 16 (-94.12%)
Mutual labels:  discord
PokemonBattleEngine
A C# library that can emulate PokΓ©mon battles.
Stars: ✭ 92 (-66.18%)
Mutual labels:  discord
Discordeno
Discord API library for Deno
Stars: ✭ 254 (-6.62%)
Mutual labels:  discord
Travis Ci Discord Webhook
β›“ Here's your serverless solution for sending build status from Travis CI to Discord as webhooks.
Stars: ✭ 273 (+0.37%)
Mutual labels:  discord

discord-rs

This project is only maintained occasionally. If you're having problems, open a pull request or check the network graph for up-to-date forks.

discord-rs is a Rust client library for the Discord chat client's API.

The Discord API can be divided into three main components: the RESTful API to which calls can be made to take actions, a websocket-based permanent connection over which state updates are received, and the voice calling system.

Log in to Discord with Discord::new, new_cache, or from_bot_token as appropriate. The resulting value can be used to make REST API calls to post messages and manipulate Discord state. Calling connect() will open a websocket connection, through which events can be received. These two channels are enough to write a simple chatbot which can read and respond to messages.

For more in-depth tracking of Discord state, a State can be seeded with the ReadyEvent obtained when opening a Connection and kept updated with the events received over it.

To join voice servers, call Connection::voice to get a VoiceConnection and use connect to join a channel, then play and stop to control playback. Manipulating deaf/mute state and receiving audio are also possible.

For further details, browse the source or read the documentation. For examples, browse the examples directory.

Installation

On Windows, discord-rs currently requires a GNU-like environment. For details, read the installation guide.

On all platforms, discord-rs has several system dependencies, which should be installed as appropriate:

  • pkg-config
  • openssl
  • libsodium (if using voice)
  • opus (if using voice)
  • ffmpeg (if using ffmpeg features)
  • youtube-dl (if using youtube-dl features)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].