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 ef16ade..9a5c344 100644
--- a/bot/src/commands/lua.hpp
+++ b/bot/src/commands/lua.hpp
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
+#include "bundle.hpp"
#include "commands/command.hpp"
#include "commands/response.hpp"
#include "config.hpp"
@@ -32,6 +33,9 @@ namespace bot::command::lua {
const InstanceBundle &bundle);
void add_base_libraries(std::shared_ptr<sol::state> state);
+ void add_chat_libraries(std::shared_ptr<sol::state> state,
+ const Request &request,
+ const InstanceBundle &bundle);
}
command::Response run_safe_lua_script(const Request &request,