forked from discord-net/Discord.Net
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for GUILD_JOIN_REQUEST_DELETE event (discord-net#253)
Fixes discord-net#247
- Loading branch information
1 parent
a20118a
commit dd3214d
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
src/Discord.Net.WebSocket/API/Gateway/GuildJoinRequestDeleteEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Discord.API.Gateway | ||
{ | ||
internal class GuildJoinRequestDeleteEvent | ||
{ | ||
[JsonProperty("user_id")] | ||
public ulong UserId { get; set; } | ||
[JsonProperty("guild_id")] | ||
public ulong GuildId { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters