fix: Issues related to absence of bot scope (#2352)
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Discord.WebSocket
|
||||
}
|
||||
internal new static SocketNewsChannel Create(SocketGuild guild, ClientState state, Model model)
|
||||
{
|
||||
var entity = new SocketNewsChannel(guild.Discord, model.Id, guild);
|
||||
var entity = new SocketNewsChannel(guild?.Discord, model.Id, guild);
|
||||
entity.Update(state, model);
|
||||
return entity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user