Skip to content

Commit

Permalink
Dont output unknown command
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmacdonald committed Mar 24, 2024
1 parent 480d717 commit f367c01
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tf2bdd/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,6 @@ func messageCreate(ctx context.Context, database *sql.DB, config Config) func(*d

argCount, found := minArgs[command]
if !found {
sendMsg(session, message, fmt.Sprintf("unknown command: %s", command))

return
}

Expand Down

0 comments on commit f367c01

Please sign in to comment.