Get closer to unified MeetingTimeResponse parsing

This commit is contained in:
2024-01-18 02:20:37 -06:00
parent 26bdad9c94
commit 3464208d9c
3 changed files with 38 additions and 40 deletions

View File

@@ -189,7 +189,6 @@ func main() {
if err != nil {
log.Fatal().Err(err).Msg("Cannot get existing commands")
}
newCommands, err := session.ApplicationCommandBulkOverwrite(session.State.User.ID, guildTarget, commandDefinitions)
if err != nil {
log.Fatal().Err(err).Msg("Cannot register commands")
@@ -217,11 +216,10 @@ func main() {
log.Info().Msg("Command registration complete")
// Fetch terms on startup
terms, err := GetTerms("", 1, 10)
_, err = GetTerms("", 1, 10)
if err != nil {
log.Fatal().Err(err).Msg("Cannot get terms")
}
log.Debug().Interface("terms", terms).Msg("Terms")
// Term Select Pre-Search POST
var termSelect string