Switch code option to string

This commit is contained in:
2024-02-16 14:45:23 -06:00
parent cd19f2cdf3
commit 951b123772

View File

@@ -36,7 +36,7 @@ var SearchCommandDefinition = &discordgo.ApplicationCommand{
Required: false, Required: false,
}, },
{ {
Type: discordgo.ApplicationCommandOptionInteger, Type: discordgo.ApplicationCommandOptionString,
Name: "code", Name: "code",
MinLength: GetPointer(2), MinLength: GetPointer(2),
Description: "Course Code (e.g. 3743, 3000-3999, 3xxx, 3000-)", Description: "Course Code (e.g. 3743, 3000-3999, 3xxx, 3000-)",