mirror of
https://github.com/Xevion/banner.git
synced 2025-12-09 10:06:34 -06:00
Get closer to unified MeetingTimeResponse parsing
This commit is contained in:
4
main.go
4
main.go
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user