Skip to content

Added firstMessage to OnMessageFlags#77

Open
michaeljolley wants to merge 1 commit intoinstafluff:masterfrom
michaeljolley:master
Open

Added firstMessage to OnMessageFlags#77
michaeljolley wants to merge 1 commit intoinstafluff:masterfrom
michaeljolley:master

Conversation

@michaeljolley
Copy link
Contributor

Twitch now passes first-msg in tags which is passed to us via TMI.js

This PR adds a new firstMessage boolean to OnMessageFlags to pass that data along.

This boolean is true when a user submits their first chat message to the channel.

Also, updates the TypeScript definitions for this new property.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant