Skip to content

Commit 8fc3153

Browse files
committed
Do not reply to notices
If we ignore private messages, we should ignore notices as well. Hoping to resolve this issue soon though.
1 parent 98c9c73 commit 8fc3153

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Whateverable.pm6

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ multi method irc-to-me($msg where .text ~~ /:i^ help ‘?’? $/) {
7575
ResponseStr.new(value => self.help($msg), message => $msg)
7676
}
7777

78+
multi method irc-notice-me($msg) {
79+
ResponseStr.new(value => Sorry, it is too private here, message => $msg) # See GitHub issue #16
80+
}
81+
7882
multi method irc-privmsg-me($msg) {
7983
ResponseStr.new(value => Sorry, it is too private here, message => $msg) # See GitHub issue #16
8084
}

0 commit comments

Comments
 (0)