summaryrefslogtreecommitdiff
path: root/bot/include/utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bot/include/utils.hpp')
-rw-r--r--bot/include/utils.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/include/utils.hpp b/bot/include/utils.hpp
index 3052ecf..820fd01 100644
--- a/bot/include/utils.hpp
+++ b/bot/include/utils.hpp
@@ -1,5 +1,5 @@
// utils.hpp
-
+#pragma once
#ifndef UTILS_HPP
#define UTILS_HPP
@@ -63,7 +63,7 @@ namespace app
* @param actions The JSON object containing actions to be handled
* @param key_values The map of key-value pairs to be used in the actions
*/
- bool handle_actions(const slashcommand_t &event, const nlohmann::json &actions, const std::unordered_map<std::string, std::string> &key_values, dpp::cluster &bot);
+ bool handle_actions(const slashcommand_t &event, const nlohmann::json &actions, const std::unordered_map<std::string, std::string> &key_values);
/**
* @brief Parses a JSON string into a JSON object