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

Only Mods, VIP and Subscriber Issue #3

Open
koerby opened this issue Aug 17, 2022 · 4 comments
Open

Only Mods, VIP and Subscriber Issue #3

koerby opened this issue Aug 17, 2022 · 4 comments

Comments

@koerby
Copy link

koerby commented Aug 17, 2022

Hi, first of all. Great job! Thank you very much for charing it.

Can you help me, how i can use it only for mods oder vips?

don't work when i use the lines

// if(!(message.tags.mod == 1 || message.tags.badges.vip == 1 || message.tags.subscriber == 0)) {
// return;
// }

@koerby
Copy link
Author

koerby commented Aug 18, 2022

image

@koerby
Copy link
Author

koerby commented Aug 18, 2022

Okay, i fix it.

The Only Allow lines musst befor the " if(message.startsWith" line starts, but "vip" is not possible, there is always an error

@dialogik
Copy link
Member

Sorry, I don't fully understand. What exactly do you want to do? You only want Mods or VIPs to be able to control your WLED?

@koerby
Copy link
Author

koerby commented Aug 18, 2022

Yes, in the script where some lines fot it, but doesn't work.

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

2 participants