libircbot
library providing a framework for implementing an IRC bot
Loading...
Searching...
No Matches
IrcBotResponse Class Reference

A response to a bot event, to be filled by a handler. More...

#include <ircbot/ircbot.h>

Public Member Functions

void IrcBotResponse_addMsg (IrcBotResponse *self, const char *to, const char *msg, int action)
 Add a message to a bot response. More...
 

Detailed Description

A response to a bot event, to be filled by a handler.

Member Function Documentation

◆ IrcBotResponse_addMsg()

void IrcBotResponse_addMsg ( IrcBotResponse self,
const char *  to,
const char *  msg,
int  action 
)

Add a message to a bot response.

Parameters
selfthe IrcBotResponse
tochannel or nick to send the message to
msgthe message to send
action0 for a normal message, 1 for an ACTION (like /me command)

The documentation for this class was generated from the following file: