summaryrefslogtreecommitdiff
path: root/bot/src/commands/lua.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/commands/lua.hpp')
-rw-r--r--bot/src/commands/lua.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/bot/src/commands/lua.hpp b/bot/src/commands/lua.hpp
index b858759..bf8a4e1 100644
--- a/bot/src/commands/lua.hpp
+++ b/bot/src/commands/lua.hpp
@@ -20,6 +20,10 @@ namespace bot::command::lua {
void add_time_library(std::shared_ptr<sol::state> state);
}
+ command::Response run_safe_lua_script(const Request &request,
+ const InstanceBundle &bundle,
+ const std::string &script);
+
class LuaCommand : public Command {
public:
LuaCommand(std::shared_ptr<sol::state> luaState,