afk voice channel is now ignored with .v+t command
This commit is contained in:
parent
98f6498711
commit
3bc636774f
@ -56,7 +56,7 @@ namespace NadekoBot.Modules.Administration.Commands
|
||||
sendMessages: PermValue.Deny)).ConfigureAwait(false);
|
||||
}
|
||||
var afterVch = e.After.VoiceChannel;
|
||||
if (afterVch != null)
|
||||
if (afterVch != null && e.Server.AFKChannel != afterVch)
|
||||
{
|
||||
var textChannel = e.Server.FindChannels(
|
||||
GetChannelName(afterVch.Name),
|
||||
|
Loading…
Reference in New Issue
Block a user