From cb2a0267da367bd1ce0559d4a1230a6e426d9e3c Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 7 Apr 2025 22:56:21 +0400 Subject: upd: just add empty arg when there is no message --- bot/src/commands/response_error.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bot/src/commands') diff --git a/bot/src/commands/response_error.hpp b/bot/src/commands/response_error.hpp index b89d38e..9e7c612 100644 --- a/bot/src/commands/response_error.hpp +++ b/bot/src/commands/response_error.hpp @@ -144,6 +144,8 @@ namespace bot { if (this->message.has_value()) { args.push_back(" " + this->message.value()); + } else { + args.push_back(""); } this->line = -- cgit v1.2.3