From f367c01f3b77d1af662531d60fcb8fd09a94eaf2 Mon Sep 17 00:00:00 2001 From: Leigh MacDonald Date: Sun, 24 Mar 2024 04:59:21 -0600 Subject: [PATCH] Dont output unknown command --- tf2bdd/bot.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/tf2bdd/bot.go b/tf2bdd/bot.go index a89903a..061345d 100644 --- a/tf2bdd/bot.go +++ b/tf2bdd/bot.go @@ -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 }