summaryrefslogtreecommitdiff
path: root/bot/src/commands/request.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-06 17:28:47 +0400
committerilotterytea <iltsu@alright.party>2025-04-06 17:28:47 +0400
commit2a49844a95593ac98e919c18651320e62f276fa7 (patch)
tree01b7e2ebb1dc7a9ac92e7c3105edfd098271f29a /bot/src/commands/request.hpp
parenta1a36cf4d4999b5ce89dce95364c9fd839b54b5d (diff)
feat: implementing lua coding
Diffstat (limited to 'bot/src/commands/request.hpp')
-rw-r--r--bot/src/commands/request.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/bot/src/commands/request.hpp b/bot/src/commands/request.hpp
index e2685f1..b6ed534 100644
--- a/bot/src/commands/request.hpp
+++ b/bot/src/commands/request.hpp
@@ -1,7 +1,10 @@
#pragma once
+#include <memory>
#include <optional>
#include <pqxx/pqxx>
+#include <sol/state.hpp>
+#include <sol/table.hpp>
#include <string>
#include "../irc/message.hpp"
@@ -21,5 +24,7 @@ namespace bot::command {
schemas::UserRights user_rights;
pqxx::connection &conn;
+
+ sol::table as_lua_table(std::shared_ptr<sol::state> luaState) const;
};
}