diff --git a/Commands/InteractionCommands/TrackingInteractions.cs b/Commands/InteractionCommands/TrackingInteractions.cs index 8c1606d..df9ce63 100644 --- a/Commands/InteractionCommands/TrackingInteractions.cs +++ b/Commands/InteractionCommands/TrackingInteractions.cs @@ -21,6 +21,10 @@ public async Task TrackingAddSlashCmd(InteractionContext ctx, [Option("member", var channelIds = channels.Split(' ', ','); foreach (var channel in channelIds) { + // skip some common obviously-invalid entries + if (channel == "" || channel == " ") + continue; + // If this is a channel mention, get the ID first var channelId = channel.Replace("<#", "").Replace(">", "");