mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-04-01 11:51:45 +00:00
fuck vs, seriously
This commit is contained in:
parent
c3888720d2
commit
c5617c2583
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user