From fbf41a4c737174442717ade79e895321ee8ada36 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 8 Apr 2025 01:06:11 +0400 Subject: upd: add twitch lib on every command run (that's maybe bad for performance) --- bot/src/commands/command.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/src/commands/command.hpp') diff --git a/bot/src/commands/command.hpp b/bot/src/commands/command.hpp index c2398ec..fcaacdb 100644 --- a/bot/src/commands/command.hpp +++ b/bot/src/commands/command.hpp @@ -45,7 +45,7 @@ namespace bot { void add_command(std::unique_ptr cmd); void load_lua_directory(const std::string &folder_path); std::optional run(const InstanceBundle &bundle, - const Request &msg) const; + const Request &msg); const std::vector> &get_commands() const { return this->commands; -- cgit v1.2.3