diff options
author | Sadie Powell <sadie@witchery.services> | 2025-05-10 14:15:27 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-05-27 15:30:09 +0100 |
commit | 50030e07fa51d3e8970ca044bf745f513501bfee (patch) | |
tree | 01eb1ac77e61314301688af9c081e46abcda9f38 /include | |
parent | 7b2f0f579016f2d8cc8c919704cf1f75d74558db (diff) |
Diffstat (limited to 'include')
-rw-r--r-- | include/bots.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bots.h b/include/bots.h index 6d0320a1c..55dde5bbe 100644 --- a/include/bots.h +++ b/include/bots.h @@ -41,6 +41,8 @@ public: time_t lastmsg; /* Map of actual command names -> service name/permission required */ CommandInfo::map commands; + /** CTCP responses this bot can send. */ + Anope::map<std::function<void(BotInfo *, User *, const Anope::string &)>> ctcps; /* The server-side alias used to message this bot. */ Anope::string alias; /* Modes the bot should have as configured in service:modes */ |