Disable/turn off custom commands when offline/not live/not streaming

Asked Sep 27, 2022·2 replies·Last activity 3 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

I want some custom commands be automatically disabled when I am not streaming. Is this possible with nightbot?

2 replies

Hey @Stormy Sloth!

Yes, you can:

$(eval '$(twitch $(channel) "{{status}}")' === 'live' ? 'MESSAGE_WHEN_STREAMING' : 'This command is currently disabled.')