summaryrefslogtreecommitdiff
path: root/bot/src/commands/response_error.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-07-03 18:05:11 +0500
committerilotterytea <iltsu@alright.party>2025-07-03 18:05:47 +0500
commite23ccfb00c8fa39926b32e94be6bc379e70ba11d (patch)
treead4758e8a1b947782186f11f1739dde1aca9ca23 /bot/src/commands/response_error.hpp
parent1e8f182b083679b06d8e30fe52b1ed1130a19287 (diff)
feat: separated requester from request
Diffstat (limited to 'bot/src/commands/response_error.hpp')
-rw-r--r--bot/src/commands/response_error.hpp3
1 files changed, 2 insertions, 1 deletions
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 =