diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-09 21:54:40 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-09 21:54:40 +0500 |
| commit | f2bf41bc614c7b070649a29b6fe9ca48cc1eafbb (patch) | |
| tree | badaf7067a0d0206c7892f696f7350f5021ca8a1 /bot/src/config.hpp | |
| parent | b89a39dcda1f31e1105768724c0efb36c612bebe (diff) | |
feat: bot_config() function for lua
Diffstat (limited to 'bot/src/config.hpp')
| -rw-r--r-- | bot/src/config.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<sol::state> luaState) const; }; std::optional<Configuration> parse_configuration_from_file( |
