Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do you trigger? #4

Open
drizzt09 opened this issue Jun 13, 2024 · 2 comments
Open

how do you trigger? #4

drizzt09 opened this issue Jun 13, 2024 · 2 comments

Comments

@drizzt09
Copy link

I have zipped and extracted the bot files in owncast public. renamed and edited the config file, renamed the commands file, have not modified yet.

the curl command was successful at linux. and shows in the stream chat

I tested the !dance trigger and that worked but its random on when it will run and when it wont.
I added my own customer trigger and that loaded when triggered but i had to refresh The browser source url first: https://your.owncast.server/public/owncast_bot/bot.html

Now it seems I can run 1 command and then that browser needs to be refreshed before another is successful.
Am I missing something? Does this window even need to be open if I plan to only use "say" triggers?

@teklynk
Copy link
Owner

teklynk commented Jul 10, 2024

@drizzt09
Sorry I have not gotten back to you on this.
There is a cooldown settings. You can try setting the cooldown to 0. Currently it looks like there is a 90 second cooldown, meaning the command can't be used again for 90 seconds. Setting it to 0 should allow you to test the commands repeatedly.

@meljoann
Copy link

In case it helps anyone else, I added this to the section of the bot.html:

    <script>
        setTimeout(function(){location.reload()},3000);
        </script>

This refreshes the page automatically every 3 seconds. My OBS browser source didn't have that option in its properties!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants