summaryrefslogtreecommitdiff
path: root/src/main.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.lisp')
-rw-r--r--src/main.lisp2
1 files changed, 1 insertions, 1 deletions
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 @@
133 133
134 (awhen (message-entities msg) 134 (awhen (message-entities msg)
135 (loop for entity across it 135 (loop for entity across it
136 when (and (equal (message-entity-type entity) "bot_command") 136 when (and (equal (message-entity-type entity) bot-command)
137 (= (message-entity-offset entity) 0)) 137 (= (message-entity-offset entity) 0))
138 do (on-text-command bot msg text (message-entity-extract entity text)))) 138 do (on-text-command bot msg text (message-entity-extract entity text))))
139 139