Fixed empty Guild.Channels
This commit is contained in:
@@ -65,7 +65,7 @@ namespace Discord
|
|||||||
if (source == UpdateSource.Rest && IsAttached) return;
|
if (source == UpdateSource.Rest && IsAttached) return;
|
||||||
|
|
||||||
_available = !(model.Unavailable ?? false);
|
_available = !(model.Unavailable ?? false);
|
||||||
if (!Available)
|
if (!_available)
|
||||||
{
|
{
|
||||||
if (_channels == null)
|
if (_channels == null)
|
||||||
_channels = new ConcurrentHashSet<ulong>();
|
_channels = new ConcurrentHashSet<ulong>();
|
||||||
|
|||||||
Reference in New Issue
Block a user