diff --git a/examples/sendPoll/main.cpp b/examples/sendPoll/main.cpp index 11ce2a9ae..d155acb92 100644 --- a/examples/sendPoll/main.cpp +++ b/examples/sendPoll/main.cpp @@ -20,7 +20,7 @@ class PollBot : public Bot { pollCmd->description = "Receive a voting poll"; Ptr quizCmd(new BotCommand()); quizCmd->command = "/quiz"; - quizCmd->description = "Receive a quiz quiz"; + quizCmd->description = "Receive a quiz"; api()->setMyCommands({pollCmd, quizCmd}); std::cout << "Bot " << api()->getMe()->username << " Started\n"; @@ -86,7 +86,7 @@ class PollBot : public Bot { int main(int argc, const char *argv[]) { if (argc < 2) { - std::cerr << "Usage:\nphoto_bot \"BOT_TOKEN\"\n"; + std::cerr << "Usage:\nsend_poll_bot \"BOT_TOKEN\"\n"; return EXIT_FAILURE; }