diff --git a/client/extra.go b/client/extra.go index c199cbf..c786893 100644 --- a/client/extra.go +++ b/client/extra.go @@ -37,6 +37,10 @@ func CheckCommand(text string, entities []*TextEntity) string { cmd = text[:i] } + if cmd == "" { + return text + } + return cmd } return ""