Skip to content

Instantly share code, notes, and snippets.

@gfodor
Created November 10, 2021 18:58
Show Gist options
  • Save gfodor/b63305340473ddc50698f92181140eab to your computer and use it in GitHub Desktop.
Save gfodor/b63305340473ddc50698f92181140eab to your computer and use it in GitHub Desktop.
javascript:(async function() {
const profile = window.APP.store.state.profile;
if (profile.avatarId === "9ioqyYv") {
profile.avatarId = "TG42nCt";
window.APP.store.update({ profile });
window.APP.hubChannel.endStreaming();
console.log("Exited streamer mode.")
} else {
profile.avatarId = "9ioqyYv";
window.APP.store.update({ profile });
window.APP.hubChannel.beginStreaming();
console.log("Entered streamer mode.")
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment