summaryrefslogtreecommitdiff
path: root/bot/src/localization
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-06 19:29:29 +0400
committerilotterytea <iltsu@alright.party>2025-04-06 19:29:29 +0400
commitd1fcac7411bd0a686c3ccaa7416d98dc197c4e59 (patch)
tree5ea919dc3f55f25b36dba73bc17ab02e6461dccf /bot/src/localization
parentd1f8efef4a68f81ca104e9b8f51e04497f3bd8aa (diff)
feat: lua execution error
Diffstat (limited to 'bot/src/localization')
-rw-r--r--bot/src/localization/line_id.cpp2
-rw-r--r--bot/src/localization/line_id.hpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/bot/src/localization/line_id.cpp b/bot/src/localization/line_id.cpp
index 7f17378..7382d91 100644
--- a/bot/src/localization/line_id.cpp
+++ b/bot/src/localization/line_id.cpp
@@ -48,6 +48,8 @@ namespace bot {
return LineId::ErrorInsufficientRights;
} else if (str == "error.illegal_command") {
return LineId::ErrorIllegalCommand;
+ } else if (str == "error.lua_execution_error") {
+ return LineId::ErrorLuaExecutionError;
}
else if (str == "event.on") {
diff --git a/bot/src/localization/line_id.hpp b/bot/src/localization/line_id.hpp
index e9b90c0..bc84074 100644
--- a/bot/src/localization/line_id.hpp
+++ b/bot/src/localization/line_id.hpp
@@ -26,6 +26,7 @@ namespace bot {
ErrorExternalAPIError,
ErrorInsufficientRights,
ErrorIllegalCommand,
+ ErrorLuaExecutionError,
PingResponse,