handle RELATIONSHIP_REMOVE

This commit is contained in:
ouwou
2021-05-08 23:35:15 -04:00
parent dd7852014f
commit 469053a144
4 changed files with 31 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ enum class GatewayEvent : int {
GUILD_JOIN_REQUEST_CREATE,
GUILD_JOIN_REQUEST_UPDATE,
GUILD_JOIN_REQUEST_DELETE,
RELATIONSHIP_REMOVE,
};
enum class GatewayCloseCode : uint16_t {
@@ -626,3 +627,10 @@ struct RateLimitedResponse {
friend void from_json(const nlohmann::json &j, RateLimitedResponse &m);
};
struct RelationshipRemoveData {
Snowflake ID;
RelationshipType Type;
friend void from_json(const nlohmann::json &j, RelationshipRemoveData &m);
};