Forming the BotHandlers class structure

This commit is contained in:
Kirill 2025-11-27 16:24:29 +03:00
parent ea29fa79f0
commit cdc1aa2e6b
6 changed files with 92 additions and 46 deletions

View file

@ -11,21 +11,22 @@ namespace BotConstants {
}
namespace Callback {
const std::string ACTION = "action:";
const std::string FIND_ANIME = ACTION + "find_anime";
const std::string ADD_REVIEW = ACTION + "add_review";
const std::string ADD_STATUS = ACTION + "add_status";
const std::string STATUS = "status:";
const std::string WATCHING = STATUS + "watching";
const std::string SEEN = STATUS + "seen";
const std::string WANT = STATUS + "want";
const std::string THROWN = STATUS + "thrown";
const std::string FIND_ANIME = ACTION + "find_anime";
const std::string ADD_REVIEW = ACTION + "add_review";
const std::string ADD_STATUS = ACTION + "add_status";
const std::string STATUS = "status:";
const std::string WATCHING = STATUS + "watching";
const std::string SEEN = STATUS + "seen";
const std::string WANT = STATUS + "want";
const std::string THROWN = STATUS + "thrown";
const std::string NAVIGATION = "navigation:";
const std::string MY_TITLES = NAVIGATION + "my_titles";
const std::string LIST_PREV = NAVIGATION + "prev";
const std::string LIST_NEXT = NAVIGATION + "next";
const std::string MY_TITLES = NAVIGATION + "my_titles";
const std::string LIST_PREV = NAVIGATION + "prev";
const std::string LIST_NEXT = NAVIGATION + "next";
const std::string CHOICE = "choice:";
}
namespace Text {
const std::string MAIN_MENU = "Вас приветствует nyanimedb бот:)\nЧего будем делать?";
const std::string SAD_ERROR = "У нас что-то случилось:(\nМы обязательно скоро исправимся";
}
}