-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathChatbot.hpp
More file actions
40 lines (32 loc) · 1.36 KB
/
Chatbot.hpp
File metadata and controls
40 lines (32 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Chatbot.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mgo <mgo@student.42seoul.kr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/13 13:26:15 by hena #+# #+# */
/* Updated: 2022/10/13 13:27:21 by mgo ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef _CHATBOT_HPP_
# define _CHATBOT_HPP_
# include <string>
# include <map>
class ChatBot
{
public:
ChatBot(void);
~ChatBot(void);
bool CheckList(std::string param, std::string &ret);
bool ChatBotCommand(std::string&, std::string&);
std::string getPrefix(void);
private:
std::string CommandList(void);
void AddCommand(std::string&);
void DeleteCommand(std::string &);
std::string GetNowTime(void);
private:
std::map< std::string, std::string > chatbot_command_list;
};
#endif