clarkio / ttv-chat-bot

Twitch livestream bot that can control colors for overlays from Stream Elements, play sound effects, handle custom rewards (like text-to-speech) and more!
https://clarkio.com
MIT License
72 stars 30 forks source link

Stream Elements commands playing 'sorry' #126

Open ToeFrog opened 5 years ago

ToeFrog commented 5 years ago

Please provide us with the following information:

This issue is for a: (mark with an x)

Minimal steps to reproduce

start up the chat client and run a known stream elements command such as !sfx or !so and the system will play the 'sorry' sound byte because it is not supported by the twitch client.

Any log messages given by the failure

Expected/desired behavior

If a known stream elements command is run, we want to ignore that and not play the sound byte.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

ToeFrog commented 5 years ago

@clarkio Could probably resolve this by adding the known Stream Elements commands to the effects.json file? Something like this:

"streamElementsCommands": [
    "commands",
    "faq",
    "project",
    "links",
    "bulbinfo",
    "color",
    "accountage",
    "followage",
    "giveaway",
    "enter",
    "contest",
    "bet",
    "points",
    "top",
    "uptime",
    "watchtime",
    "theme",
    "font",
    "editor",
    "vscode",
    "extensions",
    "so",
    "sfx"
  ]