kiwiirc / irc-framework

🛠️ A better IRC framework for node.js. For bots and full clients.
MIT License
180 stars 62 forks source link

feat: support CLIENTTAGDENY #366

Open RaitoBezarius opened 11 months ago

RaitoBezarius commented 11 months ago

This is useful for clients which want to do graceful degradations of client tags features such as typing, reacts, replies, etc.

See https://ircv3.net/specs/extensions/message-tags#rpl_isupport-tokens for specification.

brunnre8 commented 11 months ago

hm, this works as the bare minimum, but then again you force all callers to re-implement the "can I use this tag or not" logic...

Might be worth to add a method or such that can answer this for you no?

RaitoBezarius commented 11 months ago

hm, this works as the bare minimum, but then again you force all callers to re-implement the "can I use this tag or not" logic...

Might be worth to add a method or such that can answer this for you no?

I actually have this code somewhere, I can push it if you want :).

RaitoBezarius commented 11 months ago

@brunnre8 This is now pushed in a second commit.