summaryrefslogtreecommitdiff
path: root/bot/src/commands/request.hpp
diff options
context:
space:
mode:
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;
};
}