The IrcBot class can connect to a channel on an IRC network. Users on the same network can send messages to the bot that are parsed by message handlers. The included handlers read digital/analog inputs and write digital outputs or echo messages back to the command sender/channel. Users can write their own message handlers inheriting from the MessageHandler class to perform different actions.
IrcMessage Class Reference
IrcBot responds to commands on IRC using message users' handlers. More...
#include <IrcBot.h>
Public Member Functions | |
IrcMessage () | |
Create empty IrcMessage. | |
IrcMessage (char *from, char *to, char *message) | |
Create an IrcMessage. |
Detailed Description
IrcBot responds to commands on IRC using message users' handlers.
Definition at line 11 of file IrcBot.h.
Constructor & Destructor Documentation
IrcMessage | ( | ) |
Create empty IrcMessage.
Definition at line 9 of file IrcBot.cpp.
IrcMessage | ( | char * | from, |
char * | to, | ||
char * | message | ||
) |
Create an IrcMessage.
- Parameters:
-
from The user sending the message. to The user/channel receiving the message. message The message.
Definition at line 3 of file IrcBot.cpp.
Generated on Tue Jul 12 2022 20:41:27 by 1.7.2