diff --git a/src/NadekoBot/Modules/Administration/Commands/VoicePlusTextCommands.cs b/src/NadekoBot/Modules/Administration/Commands/VoicePlusTextCommands.cs index 1bd135d8..9d92ff98 100644 --- a/src/NadekoBot/Modules/Administration/Commands/VoicePlusTextCommands.cs +++ b/src/NadekoBot/Modules/Administration/Commands/VoicePlusTextCommands.cs @@ -82,7 +82,7 @@ namespace NadekoBot.Modules.Administration sendMessages: PermValue.Deny)).ConfigureAwait(false); } var afterVch = after.VoiceChannel; - if (afterVch != null && guild.AFKChannel.Id != afterVch.Id) + if (afterVch != null && guild.AFKChannel?.Id != afterVch.Id) { ITextChannel textChannel = guild.TextChannels .Where(t => t.Name == GetChannelName(afterVch.Name).ToLowerInvariant())