Discordia
Discordia copied to clipboard
Discord API library written in Lua for the Luvit runtime environment
One of the defining features of Discordia is its inclusion of an object-oriented interface for interacting with major Discord types. "Containers" provide an interface for interacting with a single instance...
To the best of my recollection, and as [documented](https://discordapp.com/developers/docs/topics/gateway#tracking-state), bot developers and [community library](https://discordapp.com/developers/docs/topics/community-resources#libraries) developers have been encouraged to implement a stateful connection to Discord's gateway to supplement and minimize...
Steps to reproduce: 1. Create a new guild, delete all default channels, invite your bot there 2. Create a text channel, call it root1 3. Create a category, in it...
The Discord API is split into two major protocols: a REST API over HTTPS and a real-time gateway API over WSS. Discordia has several layers of abstraction between the user...
Currently discordia objects store there children in an instance of the `Cache` class (or it's derivatives) however the `Cache` class is used as a container for an object's children **and**...
The hashes of two or more reactions from different messages are equal when they represent the same emoji. This results in `Container:__eq()` returning `true` for the reaction objects, even if...
[Resolvers.emojiId](https://github.com/SinisterRectus/Discordia/blob/master/libs/client/Resolver.lua#L74-L81) should be able to resolve a custom emoji's hash since it contains an id. This would make emoji functions work for both emoji types when called with data from...
The current behavior of Discordia is to recycle and update container objects *in place*. In an asynchronous event handler, this means that the object you receive may change over the...
I see an option to specify a log file and log level but nothing to split or discard log files after a certain size. Is this not currently a feature,...
 I'm getting an issue where whenever I run voiceconnection:close() or voicechannel:leave() I receive an invalid opcode warning and a subsequent disconnect/reconnect from discord. I'm running version 2.8.3. Here's the...