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

Customize slack channel #1

Merged
merged 2 commits into from
Jul 21, 2016

Conversation

putermancer
Copy link

This PR adds support for configuring the destination for Slack messages.

  1. You can set 'channel' => '#mychannel' or 'channel' => '@myuser' in config.pl to override the destination configured in the Slack webhook
    • Not providing this value at all (or setting it to an empty string) will use whatever is configured in the Slack webhook.
  2. You can pass --slack_channel=#mychannel or --slack_channel=@myuser from the command line to override the config setting.
    • This can be useful, for example, to send each user direct messages with their playback notifications, e.g. --notify --user=jack --slack_channel=@jack

@zzanger zzanger merged commit dffaa26 into zzanger:master Jul 21, 2016
@putermancer putermancer deleted the customize_slack_channel branch July 21, 2016 15:59
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

Successfully merging this pull request may close these issues.

2 participants