Is there a way to configure which command is allowed on twitch or discord only?

At the moment it would seem like Nightbot reacts to the same command in twitch chat and in discord channels. Some simply do not make sense in discord for example.

So is there a way to tell the bot which command is valid on which chat?

Hey @Paws!

Yes, you can use the $(provider) variable for it.

$(eval '$(provider)' === 'twitch' ? 'MESSAGE_FOR_TWITCH_CHAT' : ' ';)

Does the trick. Thanks a bunch, nya!

1 Like

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