From 542f074a6929ec12b8b42e4cf16ff74523e04602 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sun, 12 Oct 2025 22:42:41 +0300 Subject: Add message-entity-type enum --- src/main.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.lisp') diff --git a/src/main.lisp b/src/main.lisp index 4db0425..f31cd7c 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -133,7 +133,7 @@ (awhen (message-entities msg) (loop for entity across it - when (and (equal (message-entity-type entity) "bot_command") + when (and (equal (message-entity-type entity) bot-command) (= (message-entity-offset entity) 0)) do (on-text-command bot msg text (message-entity-extract entity text)))) -- cgit v1.2.3