summaryrefslogtreecommitdiff
path: root/include/bots.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-22 12:00:40 +0000
committerSadie Powell <sadie@witchery.services>2024-02-22 13:03:53 +0000
commit7423fa9998d7e7082cac63eda18ae785091ea1b0 (patch)
treeceda569b8b0148c7cbfca25c71e7e5a0a0d45710 /include/bots.h
parent7cba665270958b6e25add883df73df4976259e54 (diff)
Route message tags into more message functions.
Diffstat (limited to 'include/bots.h')
-rw-r--r--include/bots.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/bots.h b/include/bots.h
index 87a074058..8917621d6 100644
--- a/include/bots.h
+++ b/include/bots.h
@@ -108,8 +108,9 @@ public:
/** Called when a user messages this bot
* @param u The user
* @param message The users' message
+ * @params tags Message tags
*/
- virtual void OnMessage(User *u, const Anope::string &message);
+ virtual void OnMessage(User *u, const Anope::string &message, const Anope::map<Anope::string> &tags);
/** Link a command name to a command in services
* @param cname The command name