From f2bf41bc614c7b070649a29b6fe9ca48cc1eafbb Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Wed, 9 Apr 2025 21:54:40 +0500 Subject: feat: bot_config() function for lua --- bot/src/config.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bot/src/config.hpp') diff --git a/bot/src/config.hpp b/bot/src/config.hpp index db73f9a..11493d7 100644 --- a/bot/src/config.hpp +++ b/bot/src/config.hpp @@ -53,6 +53,8 @@ namespace bot { OwnerConfiguration owner; UrlConfiguration url; TokenConfiguration tokens; + + sol::table as_lua_table(std::shared_ptr luaState) const; }; std::optional parse_configuration_from_file( -- cgit v1.2.3