mirror of
https://github.com/Xevion/banner.git
synced 2025-12-09 10:06:34 -06:00
Add builder methods for Query, make all properties private
This commit is contained in:
@@ -34,7 +34,7 @@ var SearchCommandDefinition = &discordgo.ApplicationCommand{
|
||||
|
||||
func SearchCommandHandler(session *discordgo.Session, interaction *discordgo.InteractionCreate) {
|
||||
query := Query{
|
||||
Keywords: &[]string{"Computer Science"},
|
||||
keywords: &[]string{"Computer Science"},
|
||||
}
|
||||
courses := Search(query, 0, 5, "", false)
|
||||
fetch_time := time.Now()
|
||||
|
||||
Reference in New Issue
Block a user