question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an option to use notice instead of privmsg.

See original GitHub issue

Please add an option to use NOTICE instead of PRIVMSG. For example, Github has a little checkbox for this option: 2014-05-31-104637_161x43_scrot

Many IRC clients allow users to disable notifications (beeps, etc) for notices. This is often useful in channels where notifico messages are considered of much lesser importance than messages from users.

Issue Analytics

  • State:open
  • Created 9 years ago
  • Reactions:3
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Mikaelacommented, Feb 24, 2017

The RFC says:

4.4.2 Notice

      Command: NOTICE
   Parameters: <nickname> <text>

   The NOTICE message is used similarly to PRIVMSG.  The difference
   between NOTICE and PRIVMSG is that automatic replies must never be
   sent in response to a NOTICE message.  This rule applies to servers
   too - they must not send any error reply back to the client on
   receipt of a notice.  The object of this rule is to avoid loops
   between a client automatically sending something in response to
   something it received.  This is typically used by automatons (clients
   with either an AI or other interactive program controlling their
   actions) which are always seen to be replying lest they end up in a
   loop with another automaton.

   See PRIVMSG for more details on replies and examples.

The difference between NOTICE and PRIVMSG is that automatic replies must never be sent in response to a NOTICE message.

As said before, this isn’t the case with IRC in practice (thanks mIRC), but nowadays there is also Matrix which doesn’t have this issue.

Matrix uses m.notice for messages by bots (like was supposed to be done with IRC) and native clients (mainly Riot) have option to not highlight on messages by bots thanks to it.

How this is related to IRC commit announcer bot is that Matrix has bridges to multiple IRC networks (Bridged IRC networks @ matrix-org/matrix-appservice-irc wiki (can be thought of as a stupid bouncer)) and thus the users encounter notifico and committetters/authors get pinged by it. If Notifico was able to use NOTICE, that didn’t happen as the bridge turns NOTICE to m.notice.


In addition to having this option, there should be a way to mass edit channels or at least edit channels. I would be happy with option to make all channels under my account to use NOTICEs or at least default to it unless I otherwise specified.

0reactions
nyuszika7hcommented, May 31, 2014

I mentioned it because it spams the comment section here. But we should stop before our comments cause more spam than the references.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Notices shown in wrong window
When a notice arrives from a user, to "me", it doesn't show up in the query view like privmsg messages do. Instead it...
Read more >
RFC 2812: Internet Relay Chat: Client Protocol
Abstract The IRC (Internet Relay Chat) protocol is for use with text based ... This includes JOIN, MODE, KICK, PART, QUIT and of...
Read more >
Twitch IRC Tags
Twitch IRC Tags ; NOTICE, Sent to indicate the outcome of an action like banning a user. ; PRIVMSG, Sent when a user...
Read more >
IRC Client Protocol Specification
Clients written to this spec will work with old and new servers, ... by the use of NOTICE messages rather than PRIVMSG messages...
Read more >
Set block - UnrealIRCd documentation wiki
The snomask (server notice mask) that will be set on a user when they /OPER. ... You can use all options that are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found