Ircxd.Tags (ircxd v1.1.0)

Copy Markdown View Source

Convenience helpers for common IRCv3 message tags.

Summary

Functions

Returns the account tag value, or nil for *.

Returns the batch tag value.

Returns true if the tags contain the bot tag.

Returns the +draft/channel-context client-tag value.

Returns the label tag value.

Returns the msgid tag value.

Returns the +reply client-tag value.

Parses the time tag as a DateTime.

Functions

account(tags)

Returns the account tag value, or nil for *.

batch(tags)

Returns the batch tag value.

bot?(tags)

Returns true if the tags contain the bot tag.

channel_context(tags)

Returns the +draft/channel-context client-tag value.

label(tags)

Returns the label tag value.

msgid(tags)

Returns the msgid tag value.

reply_to_msgid(tags)

Returns the +reply client-tag value.

server_time(tags)

Parses the time tag as a DateTime.