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

Make the input to Operationcode::Slack::Im more flexible #5

Open
rickr opened this issue Dec 31, 2016 · 0 comments
Open

Make the input to Operationcode::Slack::Im more flexible #5

rickr opened this issue Dec 31, 2016 · 0 comments

Comments

@rickr
Copy link
Contributor

rickr commented Dec 31, 2016

The user param in the initializer should be able to take a few different inputs.

At the minimum if it's passed a username without the preceding '@' it should add it automatically.

For bonus credit allow it to take a Operationcode::Slack::User object and have it set it's vars properly.

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

1 participant