summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/commands.h5
-rw-r--r--include/language.h7
-rw-r--r--include/services.h6
3 files changed, 17 insertions, 1 deletions
diff --git a/include/commands.h b/include/commands.h
index e247fc388..9f4c5a928 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -57,9 +57,12 @@ struct CommandSource
/* Whether or not this was a fantasy command */
bool fantasy;
+ std::list<Anope::string> reply;
+
+ ~CommandSource();
+
void Reply(LanguageString message, ...);
void Reply(const char *message, ...);
- void Reply(const Anope::string &message);
};
/** Every services command is a class, inheriting from Command.
diff --git a/include/language.h b/include/language.h
index 0b183598b..0b880a2f5 100644
--- a/include/language.h
+++ b/include/language.h
@@ -781,6 +781,7 @@ enum LanguageString
BOT_INFO_CHAN_KICK_UNDERLINES_BAN,
BOT_INFO_CHAN_KICK_ITALICS,
BOT_INFO_CHAN_KICK_ITALICS_BAN,
+ BOT_INFO_CHAN_MSG,
BOT_INFO_ACTIVE,
BOT_INFO_INACTIVE,
BOT_INFO_CHAN_OPTIONS,
@@ -815,6 +816,11 @@ enum LanguageString
BOT_SET_SYMBIOSIS_SYNTAX,
BOT_SET_SYMBIOSIS_ON,
BOT_SET_SYMBIOSIS_OFF,
+ BOT_SET_MSG_SYNTAX,
+ BOT_SET_MSG_OFF,
+ BOT_SET_MSG_PRIVMSG,
+ BOT_SET_MSG_NOTICE,
+ BOT_SET_MSG_NOTICEOPS,
BOT_KICK_SYNTAX,
BOT_KICK_DISABLED,
BOT_KICK_UNKNOWN,
@@ -1496,6 +1502,7 @@ enum LanguageString
BOT_HELP_SET_FANTASY,
BOT_HELP_SET_GREET,
BOT_HELP_SET_SYMBIOSIS,
+ BOT_HELP_SET_MSG,
BOT_HELP_KICK,
BOT_HELP_KICK_BOLDS,
BOT_HELP_KICK_COLORS,
diff --git a/include/services.h b/include/services.h
index 61532b82d..16be4ebc7 100644
--- a/include/services.h
+++ b/include/services.h
@@ -698,6 +698,12 @@ enum BotServFlag
BS_KICK_REPEAT,
/* BotServ kicks for italics */
BS_KICK_ITALICS,
+ /* Send fantasy replies back to the channel via PRIVMSG */
+ BS_MSG_PRIVMSG,
+ /* Send fantasy replies back to the channel via NOTICE */
+ BS_MSG_NOTICE,
+ /* Send fantasy replies back to the channel via NOTICE to ops */
+ BS_MSG_NOTICEOPS,
BS_END
};