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

Play Music if a user join the channel #464

Closed
cknost opened this issue Dec 9, 2018 · 1 comment
Closed

Play Music if a user join the channel #464

cknost opened this issue Dec 9, 2018 · 1 comment

Comments

@cknost
Copy link
Contributor

cknost commented Dec 9, 2018

Is your feature request related to a problem? Please describe.
I want to play the User a sound file if the User joins the Support Channel.

Describe the solution you'd like
A config option like the option to play on connect

Splamy added a commit that referenced this issue Nov 6, 2019
@Splamy
Copy link
Owner

Splamy commented Nov 6, 2019

The bot now has events to freely configure when left alone or joined again.

[events]
#...

#Called when the last client leaves the channel of the bot. Delay can be specified
onalone = "!stop"
#Specifies how long the bot has to be alone until the 'onalone' event gets fired.
#You can specify the time in the ISO-8601 format with quotation marks "PT30S" or like: 15s, 1h, 3m30s
alone_delay = "10s"
#Called when the bot was alone and a client joins his channel. Delay can be specified.
onparty = "!play"
#Specifies how long the bot has to be alone until the 'onalone' event gets fired.
#You can specify the time in the ISO-8601 format with quotation marks "PT30S" or like: 15s, 1h, 3m30s
party_delay = "0s"

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

No branches or pull requests

2 participants