serenity
serenity copied to clipboard
A Rust library for the Discord API.
Unless I am missing something, there is currently no way of providing the `"` character as part of a quoted argument to a command. In quoted context, it is always...
In [`serenity::builder::CreateEmbed`](https://docs.rs/serenity/0.8.6/serenity/builder/struct.CreateEmbed.html#examples) it says ``` Refer to the documentation for ChannelId::send_message for a very in-depth example on how to use this. ``` However, the documentation for `ChannelId::send_message` doesn't have the...
This PR adds enforcement for unconditionally required fields on builders. It does so by removing the implementation of `Default` on those builders and adding a `new` method that takes the...
The voice channel has changed to a text channel: https://support.discord.com/hc/en-us/community/posts/4878939035543-Open-text-chat-in-voice-channel but [serenity::model::channel::GuildChannel](https://docs.rs/serenity/latest/serenity/model/channel/struct.GuildChannel.html#method.is_text_based) still does not treat the voice channel as a text channel. Because of this problem, I can't create...
I've noticed, that adding a reason for the audit_log, as implemented in other Discord API libraries, is not yet fully implemented here. It may be breaking change for many functions,...
There are more dependencies not updated, as bitflags, serde_json, chrono and probably some others, but i just updated the really outdated or that had performance updates ones
The usage documentations in the help command of commands of sub-sub-groups are missing the first prefix. # Code Example ```rust #[group] #[commands(...)] #[sub_groups(sub)] struct Root; #[group("Sub")] #[prefix("sub")] #[commands(...)] #[sub_groups(subsub)] struct...
Hi! I'm writing a bot which needs to know the new and old states of the voice channels in my server at each update, but I'm running into a problem...
## Description Hello, I think it would be a good thing to add an example of custom emoji usage for the [e17_message_components](https://github.com/serenity-rs/serenity/blob/current/examples/e17_message_components/src/main.rs) example. For instance: ```rust use serenity::builder::CreateButton; use serenity::model::id::EmojiId;...
A lot of the methods on Request and AttachmentType were only given references or mutable references to their data, instead of taking owned data. This was unnecessary and caused a...