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.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/bot/src/commands/lua.hpp b/bot/src/commands/lua.hpp
index 11e98d3..b858759 100644
--- a/bot/src/commands/lua.hpp
+++ b/bot/src/commands/lua.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include <memory>
#include <sol/sol.hpp>
#include <sol/state.hpp>
#include <sol/table.hpp>
@@ -14,6 +15,11 @@
void print_lua_object_type(const sol::object &obj);
namespace bot::command::lua {
+ namespace library {
+ void add_bot_library(std::shared_ptr<sol::state> state);
+ void add_time_library(std::shared_ptr<sol::state> state);
+ }
+
class LuaCommand : public Command {
public:
LuaCommand(std::shared_ptr<sol::state> luaState,