diff --git a/backends/twitter/Requests/HelpMessageRequest.cpp b/backends/twitter/Requests/HelpMessageRequest.cpp index 9622fda608360c7145f8e9a5df7f3ee9691af2c1..87250d16aa6853d2a2e0740e947383e5b75d1776 100644 --- a/backends/twitter/Requests/HelpMessageRequest.cpp +++ b/backends/twitter/Requests/HelpMessageRequest.cpp @@ -2,18 +2,19 @@ DEFINE_LOGGER(logger, "HelpMessageRequest") void HelpMessageRequest::run() { - std::string helpMsg = ""; helpMsg = helpMsg + "\n******************************HELP************************************\n" - + "#status ==> Update your status\n" - + "#timeline [username] ==> Retrieve 's timeline; Default - own timeline\n" - + "@ ==> Send a directed message to the user \n" - + "#help ==> Print this help message\n" + + "#status ==> Update your status\n" + + "#timeline [username] ==> Retrieve 's timeline; Default - own timeline\n" + + "@ ==> Send a directed message to the user \n" + + "#retweet ==> Retweet the tweet having id \n" + + "#follow ==> Follow user \n" + + "#unfollow ==> Stop Following user \n" + + "#help ==> Print this help message\n" + "************************************************************************\n"; - - np->handleMessage(user, "twitter-account", helpMsg); } void HelpMessageRequest::finalize() { + callBack(user, helpMsg); }