Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Add missing break statement
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeyax committed May 4, 2022
1 parent 95656fb commit aa24854
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions command_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func (ab *Bot) handleCommands(s *discordgo.Session, i *discordgo.InteractionCrea
// connect to WSS
if err = w.Init(); err != nil {
sendErrorText("Failed to initialize worker! Ask an admin to reconfigure the bot and try again. See `/help` if the problem persists.", err)
break
}

// stop server
Expand Down

0 comments on commit aa24854

Please sign in to comment.