(sigil irc tags)
(sigil irc tags) - typed accessors for common IRCv3 message tags
Convenience accessors for the well-known tags that show up across Tier 1 + Tier 2 capabilities. The raw tags alist is on every irc-message; these helpers wrap irc-message-tag with type-aware lookups and known constant names.
All accessors return:
- the parsed value when the tag is present
#fwhen the tag is missing- the symbol
'flagwhen the tag is present but valueless (onlyecho-messagerealistically does this)
Exports
msg-timeprocedureThe server-time tag's value (RFC 3339 UTC string), or #f.
msg-msgidprocedureThe msgid tag's value, or #f.
msg-accountprocedureThe account tag's value (account name), or #f. May be the literal string "*" when account-tag is enabled but the sender has no logged-in account.
msg-batchprocedureThe batch tag's value (batch reftag), or #f.
msg-labelprocedureThe label tag's value (labeled-response correlation id), or #f.
msg-replyprocedureThe +draft/reply tag's value (reply-to msgid), or #f.
msg-typingprocedureThe +typing tag's value (active / paused / done), or #f.
with-timeprocedureAdd or replace the time tag.
with-msgidprocedureAdd or replace the msgid tag.
with-accountprocedureAdd or replace the account tag.
with-batchprocedureAdd or replace the batch tag.
with-labelprocedureAdd or replace the label tag.
TAG-TIMEvariable(No description)
TAG-MSGIDvariable(No description)
TAG-ACCOUNTvariable(No description)
TAG-BATCHvariable(No description)
TAG-LABELvariable(No description)
TAG-REPLYvariable(No description)
TAG-TYPINGvariable(No description)