Improve base case message for course code range parsing

This commit is contained in:
2024-02-16 17:53:09 -06:00
parent 6d6727d714
commit aacd1daa86
+1 -1
View File
@@ -150,7 +150,7 @@ func SearchCommandHandler(session *discordgo.Session, interaction *discordgo.Int
}
if low == -1 || high == -1 {
return fmt.Errorf("course code range was specified but was ignored silently (%s)", valueRaw)
return fmt.Errorf("course code range invalid (%s)", valueRaw)
}
if low > high {