summaryrefslogtreecommitdiff
path: root/samples/echobot
diff options
context:
space:
mode:
authorOleg Morozenkov <omorozenkov@gmail.com>2015-07-09 21:04:57 +0300
committerOleg Morozenkov <omorozenkov@gmail.com>2015-07-09 21:04:57 +0300
commit3405de881ab66bd8fb40d150c11da4f25e53ee7b (patch)
tree8bb9a51e117f9e0a7ae78d68eaa6b7f69d63bdf2 /samples/echobot
parent51d2176d1535c8c8176426909e1c7b70633d794b (diff)
Fix sample
Diffstat (limited to 'samples/echobot')
-rw-r--r--samples/echobot/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/echobot/src/main.cpp b/samples/echobot/src/main.cpp
index 03d9d3d..7b8d880 100644
--- a/samples/echobot/src/main.cpp
+++ b/samples/echobot/src/main.cpp
@@ -40,7 +40,7 @@ int main() {
sigintGot = true;
});
- Bot bot("100743144:AAEzJJSWYezyUYlwgzSjf0-5hdokGyUjbXM");
+ Bot bot("PLACE YOUR TOKEN HERE");
bot.getEvents().onCommand("start", [&bot](Message::Ptr message) {
bot.getApi().sendMessage(message->chat->id, "Hi!");
});