Esempio n. 1
0
int main()
{
	Config config;
	IrcBot bot = IrcBot(config);
	bot.bot();

    return 0;
}
Esempio n. 2
0
int main()
{
	IrcBot bot = IrcBot("NICK cTsunku\r\n","USER pillu pillu pillu :cTsunku\r\n");
    bot.start();

  return 0;

}
Esempio n. 3
0
int main()
{
  const std::string bot_name = "speaker";
  const std::string server_name = "irc.zeronode.net";
  const std::string channel_name = "#Hive5";
  const int port = 6697;

  IrcBot(
    bot_name,
    channel_name,
    port,
    server_name,
    Respond
  );
}