fuck vs, seriously

This commit is contained in:
13xforever 2019-02-27 03:39:45 +05:00
parent c3888720d2
commit c5617c2583

View File

@ -23,7 +23,7 @@ namespace CompatBot.Commands
if (channel.Type != ChannelType.Text)
{
Config.Log.Warn($"Resolved a {channel.Type} channel again for #{channel.Name}");
var channelResult = await new CustomDiscordChannelConverter().ConvertAsync(channel.Name, ctx).ConfigureAwait(false);
var channelResult = await new TextOnlyDiscordChannelConverter().ConvertAsync(channel.Name, ctx).ConfigureAwait(false);
if (channelResult.HasValue && channelResult.Value.Type == ChannelType.Text)
channel = channelResult.Value;
else