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

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

Hey @requiresassembly!

Yes, you can:

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

thanks, appreciate it!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.