Browse Source

Fix Guild not being populated in SocketWebhookUser

pull/1044/head
Alex Gravely GitHub 7 years ago
parent
commit
32a710539f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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) internal SocketWebhookUser(SocketGuild guild, ulong id, ulong webhookId)
: base(guild.Discord, id) : base(guild.Discord, id)
{ {
Guild = guild;
WebhookId = webhookId; WebhookId = webhookId;
} }
internal static SocketWebhookUser Create(SocketGuild guild, ClientState state, Model model, ulong webhookId) internal static SocketWebhookUser Create(SocketGuild guild, ClientState state, Model model, ulong webhookId)


Loading…
Cancel
Save