We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 387d5de commit 4c50f50Copy full SHA for 4c50f50
1 file changed
MedalBOT/Program.cs
@@ -141,7 +141,8 @@ static async Task Main()
141
}
142
143
// Forward ChanServ/SpamServ NOTICE messages directly to Discord
144
- if (line.Contains("NOTICE") && (line.Contains("ChanServ") || line.Contains("SpamServ")))
+ // Format: :ChanServ!... NOTICE botname :message
145
+ if (line.Contains(" NOTICE ") && (line.Contains("ChanServ") || line.Contains("SpamServ")))
146
{
147
string noticeContent = MessageParser.GetMessage(line);
148
if (!string.IsNullOrWhiteSpace(noticeContent))
0 commit comments