Browse Source

Fix Guild not being populated in SocketWebhookUser (#1044)

tags/2.0
Alex Gravely Christopher F 7 years ago
parent
commit
6a7810b3a4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/Discord.Net.WebSocket/Entities/Users/SocketWebhookUser.cs

+ 1
- 0
src/Discord.Net.WebSocket/Entities/Users/SocketWebhookUser.cs View File

@@ -26,6 +26,7 @@ namespace Discord.WebSocket
internal SocketWebhookUser(SocketGuild guild, ulong id, ulong webhookId)
: base(guild.Discord, id)
{
Guild = guild;
WebhookId = webhookId;
}
internal static SocketWebhookUser Create(SocketGuild guild, ClientState state, Model model, ulong webhookId)


Loading…
Cancel
Save