summaryrefslogtreecommitdiff
path: root/discord/discord.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-04-14 02:11:36 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-04-14 02:11:36 -0400
commit9733ae54c386f347e338c7854869ba2e57b113cb (patch)
tree9954638cbd0b7172e7822b0bdf799c02eb41d0df /discord/discord.hpp
parent9a7a468607d0e289c8a42adfa13bc2e9f65e9696 (diff)
downloadabaddon-portaudio-9733ae54c386f347e338c7854869ba2e57b113cb.tar.gz
abaddon-portaudio-9733ae54c386f347e338c7854869ba2e57b113cb.zip
update rate limit indicator on failed message send
this happens when you start the client while already rate-limited
Diffstat (limited to 'discord/discord.hpp')
-rw-r--r--discord/discord.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/discord.hpp b/discord/discord.hpp
index 0910703..6ce92bd 100644
--- a/discord/discord.hpp
+++ b/discord/discord.hpp
@@ -313,8 +313,8 @@ public:
typedef sigc::signal<void, GuildJoinRequestUpdateData> type_signal_guild_join_request_update;
typedef sigc::signal<void, GuildJoinRequestDeleteData> type_signal_guild_join_request_delete;
typedef sigc::signal<void, Message> type_signal_message_sent;
- typedef sigc::signal<void, std::string> type_signal_message_send_fail;
- typedef sigc::signal<void, bool, GatewayCloseCode> type_signal_disconnected; // bool true if reconnecting
+ typedef sigc::signal<void, std::string /* nonce */, float /* retry_after */> type_signal_message_send_fail; // retry after param will be 0 if it failed for a reason that isnt slowmode
+ typedef sigc::signal<void, bool, GatewayCloseCode> type_signal_disconnected; // bool true if reconnecting
typedef sigc::signal<void> type_signal_connected;
type_signal_gateway_ready signal_gateway_ready();