diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-07 22:56:21 +0400 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-07 22:56:21 +0400 |
| commit | cb2a0267da367bd1ce0559d4a1230a6e426d9e3c (patch) | |
| tree | fd6eefd73ab6629ac381c0ba25571cdc515c60ef /bot/src/commands | |
| parent | d14a812e110a6938ed99d28c807594b31c5066ef (diff) | |
upd: just add empty arg when there is no message
Diffstat (limited to 'bot/src/commands')
| -rw-r--r-- | bot/src/commands/response_error.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 = |
