From a4a45495eb6698aa0f82ea1cdb24af7f76cb25bc Mon Sep 17 00:00:00 2001 From: SayedSadat Date: Fri, 29 Jun 2018 13:13:09 +0430 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8edcafb..5ee7546 100644 --- a/README.md +++ b/README.md @@ -270,7 +270,7 @@ Note: On Ubuntu, `gperf` is in its universe repository. So, make sure to enable local msg = data.message if msg.content["@type"] == "messageText" then - if msg.content.text == "ping" then + if msg.content.text.text == "ping" then assert (tdbot_function ({ ["@type"] = "sendMessage", chat_id = msg.chat_id,