PandoraBotIRC
1.0.0
An irc bot that acts as a Pandora chatter bot
|
Class representing a connection to a PandoraBot chatterbot. More...
#include <PandoraBot.hpp>
Public Member Functions | |
PandoraBot ()=delete | |
Default ctor deleted. Must provide a botid for PandoraBot to function. More... | |
PandoraBot (std::string const &botid) | |
PandoraBot constructor. More... | |
std::string | think (std::string const &msg) |
Function for talking with the Pandora Bot. More... | |
![]() | |
ChatterBot ()=default | |
virtual | ~ChatterBot ()=default |
Class representing a connection to a PandoraBot chatterbot.
Call PandoraBot::think with a message, and it will return a reply.
Bot IDs are found from www.pandorabots.com You can browse through bots on that website (there are many.) When you find a bot you want to use, click on it, and the botid will be in the url.
BotIDs are 16 characters in length. Using an incorrect BotID will result in undefined behavior.
|
delete |
Default ctor deleted. Must provide a botid for PandoraBot to function.
pbirc::cb::PandoraBot::PandoraBot | ( | std::string const & | botid | ) |
PandoraBot constructor.
[in] | botid | An ID representing which Pandora Bot to connect with |
|
virtual |
Function for talking with the Pandora Bot.
msg | A message to send to the bot |
Implements pbirc::cb::ChatterBot.