Twitch AutoMod raw flags string.
If the flags tag is missing or of a unparseable format, this will be undefined. This is unlike most other
attributes which when missing or malformed will fail the message parsing. However since this attribute is
completely undocumented we cannot rely on the flags tag being stable, so this soft fallback is used instead.
In short, ensure your implementation can handle the case where this is undefined or is in
a format you don't expect.
The parser ensures this is always uppercase
sub, resub, subgift, etc...
Generated using TypeDoc
Can be an array of Twitch AutoMod flagged words, for use in moderation and/or filtering purposes.
If the
flagstag is missing or of a unparseable format, this will beundefined. This is unlike most other attributes which when missing or malformed will fail the message parsing. However since this attribute is completely undocumented we cannot rely on theflagstag being stable, so this soft fallback is used instead. While it will be a major version release if this attribute changes format in dank-twitch-irc, using this is still at your own risk since it may suddenly contain unexpected data or turnundefinedone day as Twitch changes something. In short: Use at your own risk and make sure your implementation can handle the case where this isundefined.