Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whispers use the Receiver's flags #14

Open
Kruiser8 opened this issue May 12, 2020 · 0 comments
Open

Whispers use the Receiver's flags #14

Kruiser8 opened this issue May 12, 2020 · 0 comments

Comments

@Kruiser8
Copy link

Kruiser8 commented May 12, 2020

If a viewer sends a whisper to the broadcaster, it is treated as if it was a command from the broadcaster.

While connected to the Kruiser8 channel, I sent a whisper from Kruizbot to Kruiser8. The following flags were attached:

"broadcaster":true,
"founder":null,
"subscriber":null,
"vip":false,
"highlighted":false,
"customReward":false

Looking at the extras, perhaps it treats a whisper as occurring in the sender's "channel" so therefore they're the broadcaster? That might be right and I'll have to come up with some workaround for whispers that come through the OnCommand event.

"channel":"kruizbot",
"messageType":"whisper",
"messageEmotes":null,
"isEmoteOnly":false,
"userId":"164439115",
"username":"kruizbot",
"displayName":"KruizBot",
"userColor":"#B22222",
"userBadges":null,
"customRewardId":null,
"sinceLastCommand":{"any":0,"user":0}
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

No branches or pull requests

1 participant