diff options
| author | uakci <uakci@uakci.pl> | 2022-07-14 17:10:08 +0200 |
|---|---|---|
| committer | uakci <uakci@uakci.pl> | 2022-07-14 17:10:08 +0200 |
| commit | 4d173dc97d3f4ea0c797e8572738e23866d84883 (patch) | |
| tree | 816cce212e9c04a3f5a4febad73a6fbc9d0c0807 | |
| parent | adopt new version of gomod2nix (diff) | |
| download | nuogai-4d173dc97d3f4ea0c797e8572738e23866d84883.tar.gz nuogai-4d173dc97d3f4ea0c797e8572738e23866d84883.zip | |
temporarily disable unknown command prompts
| -rw-r--r-- | bot.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) + // } } } |
