summaryrefslogtreecommitdiff
path: root/include/bots.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-09 18:17:02 +0100
committerSadie Powell <sadie@witchery.services>2025-04-10 13:34:25 +0100
commit9351debd73cb22f33bc46c201c9d66ec09ea773e (patch)
treebe92bdd1d1f288f375d6ff7fa00afc3db75e255d /include/bots.h
parent40d558ef21a438bf1dff9ac522cd852166fc4c44 (diff)
Expand GetQueryCommand to take a command name.
Diffstat (limited to 'include/bots.h')
-rw-r--r--include/bots.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bots.h b/include/bots.h
index d5e935d14..17f336023 100644
--- a/include/bots.h
+++ b/include/bots.h
@@ -139,7 +139,7 @@ public:
CommandInfo *GetCommand(const Anope::string &cname);
/** Get the command that users can use to send a message to this bot. */
- Anope::string GetQueryCommand() const;
+ Anope::string GetQueryCommand(const Anope::string &command = "", const Anope::string &extra = "") const;
/** Find a bot by nick
* @param nick The nick