From e23ccfb00c8fa39926b32e94be6bc379e70ba11d Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 3 Jul 2025 18:05:11 +0500 Subject: feat: separated requester from request --- bot/src/commands/response_error.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot/src/commands/response_error.hpp') diff --git a/bot/src/commands/response_error.hpp b/bot/src/commands/response_error.hpp index 9e7c612..139385d 100644 --- a/bot/src/commands/response_error.hpp +++ b/bot/src/commands/response_error.hpp @@ -209,7 +209,8 @@ namespace bot { auto arg = this->localizator .get_localized_line( - this->request.channel_preferences.get_locale(), arg_id) + this->request.requester.channel_preferences.get_locale(), + arg_id) .value(); this->line = -- cgit v1.2.3