Fix Guild not being populated in SocketWebhookUser (#1044)

This commit is contained in:
Alex Gravely
2018-04-29 11:18:57 -04:00
committed by Christopher F
parent 217ec34ef0
commit 6a7810b3a4

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)