Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

This is a bandaid for the tts until I figure it out. #14

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ComfyJS.onCommand = (user, command, message, flags, extra) => {
window.speechSynthesis.speak(msg);
}

if ((flags.broadcaster || flags.mod || flags.subscriber) && command == "say") {
if ((flags.broadcaster || flags.mod || flags.subscriber || flags.vip) && command == "say") {
var msg = new SpeechSynthesisUtterance(message);
window.speechSynthesis.speak(msg);
}
Expand Down Expand Up @@ -98,7 +98,7 @@ const generateTitle = {
// Need to fix the CSS here
function gifAlert(user, gif, audio, type,) {
queue.add(async () => {
audio.play();
// audio.play(); don't forget to turn back on.
container.innerHTML = presentedGif(user, type, gif);
container.style.opacity = 1;

Expand Down