aboutsummaryrefslogtreecommitdiff
path: root/src/bot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.cpp')
-rw-r--r--src/bot.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bot.cpp b/src/bot.cpp
index 8c3a84c..d3bd6b7 100644
--- a/src/bot.cpp
+++ b/src/bot.cpp
@@ -346,3 +346,10 @@ void Bot::onWebhooksUpdate(const dpp::webhooks_update_t &obj)
}
+void Bot::onSlashCommand(const dpp::slashcommand_t &event) {
+ FOREACH_MOD(I_OnSlashCommand, OnSlashCommand(event));
+}
+
+void Bot::onFormSubmit(const dpp::form_submit_t &event) {
+ FOREACH_MOD(I_OnFormSubmit, OnFormSubmit(event));
+} \ No newline at end of file