diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-19 02:10:39 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-19 02:10:39 +0500 |
| commit | 59b52bfab39d98a11052497ab387011a9835ef1b (patch) | |
| tree | 9f911b85fa2a621386bbff418c48582c51637172 /bot/src/irc/message.cpp | |
| parent | a808ec07cbbb4fc6118d97b8e7985debe1274a5f (diff) | |
feat: handle ping messages
Diffstat (limited to 'bot/src/irc/message.cpp')
| -rw-r--r-- | bot/src/irc/message.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/src/irc/message.cpp b/bot/src/irc/message.cpp index 569e691..038df83 100644 --- a/bot/src/irc/message.cpp +++ b/bot/src/irc/message.cpp @@ -22,6 +22,8 @@ namespace bot { return MessageType::Notice; } else if (parts[i] == "PRIVMSG") { return MessageType::Privmsg; + } else if (parts[i] == "PING") { + return MessageType::Ping; } return std::nullopt; |
