mirror of
https://github.com/Xevion/banner.git
synced 2026-01-31 00:23:31 -06:00
Improve base case message for course code range parsing
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user