This commit is contained in:
2024-02-06 11:53:25 +01:00
parent 7555a6427a
commit 24462adbd5
10 changed files with 46 additions and 33 deletions

View File

@@ -6,13 +6,13 @@
/* By: vvaas <vvaas@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/30 01:54:36 by vvaas #+# #+# */
/* Updated: 2024/01/30 21:38:16 by vvaas ### ########.fr */
/* Updated: 2024/02/06 11:52:46 by vvaas ### ########.fr */
/* */
/******************************************************************************/
#define IP "127.0.0.1"
#define PORT 6667
#define PASSWORD "gg"
#define PASSWORD "passwordIRC"
#include <irc.hpp>
#include <vector>
@@ -22,7 +22,7 @@ class Bot
{
public:
Bot();
bool init(void);
bool init(const std::string &ip, const std::string &port, const std::string &password);
void connect_to_server(void);
void handle_response(std::string buffer);
void send_message(const std::string &content);

View File

@@ -6,7 +6,7 @@
/* By: vvaas <vvaas@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/21 10:34:25 by maldavid #+# #+# */
/* Updated: 2024/02/05 12:45:08 by vvaas ### ########.fr */
/* Updated: 2024/02/06 11:37:58 by vvaas ### ########.fr */
/* */
/******************************************************************************/

View File

@@ -6,7 +6,7 @@
/* By: vvaas <vvaas@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/21 10:33:17 by maldavid #+# #+# */
/* Updated: 2024/02/06 10:08:14 by vvaas ### ########.fr */
/* Updated: 2024/02/06 11:38:02 by vvaas ### ########.fr */
/* */
/******************************************************************************/

View File

@@ -6,7 +6,7 @@
/* By: vvaas <vvaas@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/22 09:45:10 by maldavid #+# #+# */
/* Updated: 2024/02/05 16:13:06 by vvaas ### ########.fr */
/* Updated: 2024/02/06 11:38:01 by vvaas ### ########.fr */
/* */
/******************************************************************************/