Created
November 10, 2021 18:58
-
-
Save gfodor/b63305340473ddc50698f92181140eab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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