Created
May 27, 2024 18:31
-
-
Save oops-wrong/45a337b4245a796b44941c9f12e42600 to your computer and use it in GitHub Desktop.
This file contains 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
window.addEventListener( | |
'message', | |
async (e) => { | |
if (e.data?.type === ContentMessages.UltraToneChange) { | |
tone = e.data?.payload?.tone?.prompt?.toLowerCase() || ''; | |
} | |
}, | |
false, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment