diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-06 00:45:48 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-06 00:45:48 +0500 |
| commit | 58df60b6e3ccda724a81dd9f0721b1c6e84686c1 (patch) | |
| tree | 01e86080261a5843ff0d2af1ad655e324709f826 /src/localization/line_id.cpp | |
| parent | 28a63d9819c05d2576355117e54acc3f466bf926 (diff) | |
feat: new command - !notify (i havent tested it (clueless))
Diffstat (limited to 'src/localization/line_id.cpp')
| -rw-r--r-- | src/localization/line_id.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/localization/line_id.cpp b/src/localization/line_id.cpp index d2a2af9..2eca697 100644 --- a/src/localization/line_id.cpp +++ b/src/localization/line_id.cpp @@ -50,6 +50,12 @@ namespace bot { return LineId::EventOff; } + else if (str == "notify.sub") { + return LineId::NotifySub; + } else if (str == "notify.unsub") { + return LineId::NotifyUnsub; + } + else { return std::nullopt; } |
