This commit is contained in:
Hamcha 2019-05-27 15:26:38 +02:00
parent 42e0fffac7
commit ca1574c6ef
Signed by: Hamcha
GPG Key ID: A40413D21021EAEE
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ func process(broker *tg.Broker, update tg.APIUpdate) {
if strings.HasPrefix(*update.Message.Text, "/") { if strings.HasPrefix(*update.Message.Text, "/") {
opCommand.With(prometheus.Labels{ opCommand.With(prometheus.Labels{
"command": strings.SplitN(*update.Message.Text, " ", 2)[0], "command": strings.SplitN(*update.Message.Text, " ", 2)[0],
}) }).Inc()
} }
} }
} }