Fixed ignoring GUILD_AVAILABLE event
This commit is contained in:
@@ -391,7 +391,7 @@ namespace Discord
|
|||||||
{
|
{
|
||||||
guild = DataStore.GetGuild(data.Id);
|
guild = DataStore.GetGuild(data.Id);
|
||||||
if (guild != null)
|
if (guild != null)
|
||||||
guild.Update(data, UpdateSource.WebSocket);
|
guild.Update(data, UpdateSource.WebSocket, DataStore);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
await _gatewayLogger.WarningAsync($"{type} referenced an unknown guild.").ConfigureAwait(false);
|
await _gatewayLogger.WarningAsync($"{type} referenced an unknown guild.").ConfigureAwait(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user