ChatFollow
Event triggered when streamer receives a new follower.
This event is triggered when the monitored stream receives a new follower.
Note: This event is only triggered on new follows. Unfollowing then following again will not trigger the event,
const bot = new Dlive(key);
bot.on('ChatFollow', msg => {
console.log(`New follower! ${msg.sender.displayname} has joined the party!`)
});
New follower! LostInTheWastes has joined the party!`
{
"__typename": "ChatFollow",
"type": "Follow",
"id": "79e735b1-74e2-4e3d-9467-22c1128bb2ca",
"sender": {
"__typename": "StreamchatUser",
"id": "streamchatuser:dlive-29912156",
"username": "dlive-29912156",
"displayname": "LostInTheWastes",
"avatar": "https://images.prd.dlivecdn.com/avatar/default4.png",
"partnerStatus": "NONE",
"badges": []
},
"role": "None",
"roomRole": "Member",
"subscribing": false
}
Updated over 5 years ago