From d1f8efef4a68f81ca104e9b8f51e04497f3bd8aa Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 6 Apr 2025 18:25:46 +0400 Subject: feat: !ping in lua + bot and time libraries --- bot/src/commands/lua.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bot/src/commands/lua.hpp') 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 #include #include #include @@ -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 state); + void add_time_library(std::shared_ptr state); + } + class LuaCommand : public Command { public: LuaCommand(std::shared_ptr luaState, -- cgit v1.2.3