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

Allow custom username #14

Closed
albertogasparin opened this issue May 10, 2017 · 1 comment
Closed

Allow custom username #14

albertogasparin opened this issue May 10, 2017 · 1 comment

Comments

@albertogasparin
Copy link

Currently you are using os.hostname() as username for slack messages.
As we don't want to make it public, could you add an option to override it?
We have also tried setting a default on the Slack webhook but that gets ignored.
Thanks

mattpker pushed a commit that referenced this issue May 10, 2017
@mattpker
Copy link
Owner

This feature has been added and published to npm. Please run pm2 install pm2-slack to update to the newest version and then run pm2 set pm2-slack:username theusername to set the username you want.

Please let me know if you experience any issues with this new feature. Thanks!

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

2 participants