Change comment

This commit is contained in:
Craftplacer 2020-02-07 16:52:53 +01:00
parent dd86443264
commit 41915df1f3
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ public void HandleMessages(Channel channel, IEnumerable<Message> messages)
if (message.Sender.Id == localUser.Value.Id) if (message.Sender.Id == localUser.Value.Id)
continue; continue;
// check for private messages first, if true, skip checking mentions to prevent duplicate notifications about the same message. // check for private messages first,
// to avoid both posting two notifications about the same message
if (checkForPMs(channel, message)) if (checkForPMs(channel, message))
continue; continue;