From 2bd139d4323efa983df47bd131c90df501aee371 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 15 Apr 2025 15:48:22 +0500 Subject: feat: get loaded commands from lua --- bot/src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot/src/main.cpp') diff --git a/bot/src/main.cpp b/bot/src/main.cpp index 212d190..360e243 100644 --- a/bot/src/main.cpp +++ b/bot/src/main.cpp @@ -112,7 +112,8 @@ int main(int argc, char *argv[]) { client.on( [&client, &command_loader, &localization, &cfg, &helix_client]( const bot::irc::Message &message) { - bot::InstanceBundle bundle{client, helix_client, localization, cfg}; + bot::InstanceBundle bundle{client, helix_client, localization, cfg, + command_loader}; pqxx::connection conn(GET_DATABASE_CONNECTION_URL(cfg)); -- cgit v1.2.3