Fix Guild not being populated in SocketWebhookUser (#1044)
This commit is contained in:
committed by
Christopher F
parent
217ec34ef0
commit
6a7810b3a4
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user