From 860e6216e9c0c5e554d07aa0db8ab74dfbb873f7 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Wed, 8 May 2024 23:29:37 +0500 Subject: feat: new command - !scmd --- src/localization/line_id.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/localization/line_id.cpp') diff --git a/src/localization/line_id.cpp b/src/localization/line_id.cpp index 560ac90..f4ea6f1 100644 --- a/src/localization/line_id.cpp +++ b/src/localization/line_id.cpp @@ -74,6 +74,12 @@ namespace bot { return LineId::JoinNotAllowed; } + else if (str == "custom_command.new") { + return LineId::CustomcommandNew; + } else if (str == "custom_command.delete") { + return LineId::CustomcommandDelete; + } + else { return std::nullopt; } -- cgit v1.2.3