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 posting to a user's slackbot channel instead of just IM #44

Merged
merged 2 commits into from
Aug 2, 2016
Merged

Allow posting to a user's slackbot channel instead of just IM #44

merged 2 commits into from
Aug 2, 2016

Conversation

gpanders
Copy link

Allows the user to post to another user's slackbot channel instead of a direct message by passing a new config parameter, i.e.

bot.postTo('username', 'This is a test message', {
    'icon_emoji': ':ghost:',
    'slackbot': true
});

If the slackbot config option is omitted, it will default to sending a direct message as usual.

@mishk0 mishk0 merged commit 2a6bf41 into mishk0:master Aug 2, 2016
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.

None yet

2 participants