Skip to content

Commit

Permalink
Fix Guild not being populated in SocketWebhookUser (discord-net#1044)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiTcb authored and FiniteReality committed May 5, 2018
1 parent 17052c6 commit a4a3f40
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -26,6 +26,7 @@ public class SocketWebhookUser : SocketUser, IWebhookUser
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)
Expand Down

0 comments on commit a4a3f40

Please sign in to comment.