Fixed gelbooru

This commit is contained in:
Kwoth
2022-01-06 20:59:49 +01:00
parent 51a396ec9f
commit f1770cbb8f
2 changed files with 13 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ public class GameVoiceChannelService : INService
if (string.IsNullOrWhiteSpace(game))
return false;
game = game.TrimTo(50).ToLowerInvariant();
game = game.TrimTo(50)!.ToLowerInvariant();
var vch = gUser.Guild.VoiceChannels.FirstOrDefault(x => x.Name.ToLowerInvariant() == game);
if (vch is null)