Skip to content

Commit

Permalink
fixed command registration
Browse files Browse the repository at this point in the history
  • Loading branch information
gal committed Jun 20, 2022
1 parent bb0efc4 commit ff417a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (c *Commands) Register(s *discordgo.Session) error {
callComponentHandler(s, i)
}
})
if _, err := s.ApplicationCommandBulkOverwrite(viper.GetString("discord.app.id"), "976394713903009793", c.commands); err != nil {
if _, err := s.ApplicationCommandBulkOverwrite(viper.GetString("discord.app.id"), "", c.commands); err != nil {
log.WithError(err).Error("Failed to create commands")
return err
}
Expand Down

0 comments on commit ff417a3

Please sign in to comment.