From 583d2e3085443800e1ca65542d38821940efbed7 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 15 Apr 2025 04:33:34 +0500 Subject: feat: add_chat_libraries function --- bot/src/commands/lua.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bot/src/commands/lua.hpp') 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 #include +#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 state); + void add_chat_libraries(std::shared_ptr state, + const Request &request, + const InstanceBundle &bundle); } command::Response run_safe_lua_script(const Request &request, -- cgit v1.2.3