From 4d173dc97d3f4ea0c797e8572738e23866d84883 Mon Sep 17 00:00:00 2001 From: uakci Date: Thu, 14 Jul 2022 17:10:08 +0200 Subject: temporarily disable unknown command prompts --- bot.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bot.go') diff --git a/bot.go b/bot.go index 6b24fb6..50124b7 100644 --- a/bot.go +++ b/bot.go @@ -262,10 +262,10 @@ func respond(message string, callback func(interface{})) { math = logic.PrettyString(stmt) } callback(parse + math) - default: - if strings.HasPrefix(cmd, "%") { - callback(UNKNOWN) - } + // default: + // if strings.HasPrefix(cmd, "%") { + // callback(UNKNOWN) + // } } } -- cgit v1.2.3