Skip to content

Commit

Permalink
Merge pull request #11 from leighmacdonald/unknowncmd
Browse files Browse the repository at this point in the history
Dont output unknown command
  • Loading branch information
leighmacdonald authored Mar 24, 2024
2 parents 480d717 + f367c01 commit 169081f
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 169081f

Please sign in to comment.