Skip to content

Commit

Permalink
fully reomnve
Browse files Browse the repository at this point in the history
  • Loading branch information
renja-g committed Jul 24, 2024
1 parent cfd2460 commit 4f0092c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,15 @@ func main() {
b := dbot.New(logger, version, *cfg)

h := handler.New()
h.Command("/test", commands.TestHandler)
h.Autocomplete("/test", commands.TestAutocompleteHandler)

h.Command("/rate", commands.RateHandler)
h.Autocomplete("/rate", commands.RateAutocompleteHandler)

h.Command("/info", commands.InfoHandler)

h.Command("/teams", func(e *handler.CommandEvent) error {
return commands.TeamsHandler(e, b)
})

h.Command("/leaderboard", commands.LeaderboardHandler)

h.Command("/history", commands.HistoryHandler)

h.Command("/version", commands.VersionHandler(b))

h.Component("test_button", components.TestComponent)
h.Component("reshuffle_button", components.ReshuffleComponent)
h.Component("start_match_button", components.StartMatchComponent)
Expand Down
2 changes: 0 additions & 2 deletions commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package commands
import "github.com/disgoorg/disgo/discord"

var Commands = []discord.ApplicationCommandCreate{
test,
version,
rate,
info,
teams,
Expand Down

0 comments on commit 4f0092c

Please sign in to comment.