We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3250dcf commit c145c79Copy full SHA for c145c79
main.go
@@ -48,7 +48,7 @@ func main() {
48
}
49
50
for _, command := range commands {
51
- if strings.Contains(update.Message.Text, command) {
+ if update.Message.Text == command || strings.Contains(update.Message.Text, " "+command+" ") {
52
switch command {
53
case "/help", "/хелп":
54
message = `БОТ РАБОТАЕТ ТОЛЬКО У АДМИНОВ.
0 commit comments