Get custom variable script trigger source

Have a variable accessible within custom variable scripts that allow me to see the source of where the command was triggered, Discord or Twitch.

Example: A custom variable can return information that could be considered a spoiler. If a user from Twitch triggers the command which calls the custom variable script, it would return something different than if it were triggered from Discord since Discord has spoiler markdown.

I am not sure if I understand 100%

You want basically something like variable isDiscord: true/false if it is triggered through discord? Or something like source: twitch | discord?

Yes that is correct.

1 Like

Thank you so much!

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