summaryrefslogtreecommitdiff
path: root/bot/src/handle_actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/handle_actions.cpp')
-rw-r--r--bot/src/handle_actions.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/src/handle_actions.cpp b/bot/src/handle_actions.cpp
index 15645cb..e469ec7 100644
--- a/bot/src/handle_actions.cpp
+++ b/bot/src/handle_actions.cpp
@@ -17,13 +17,15 @@ dpp::task<bool> handle_actions(const dpp::slashcommand_t &event, const nlohmann:
std::string action_type = action["type"];
if (action_type == "delete_messages" && event.command.is_guild_interaction())
{
- co_await thinking;
auto return_value = co_await delete_action(event, action, key_values, user_ptr, cluster);
+ co_await thinking;
// if it's a false, we need to return false !
if (!return_value)
{
co_return false;
}
+
+
}
}
if (i == actions.size())