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

Adapter specific params #174

Open
distantcam opened this issue Nov 14, 2014 · 1 comment
Open

Adapter specific params #174

distantcam opened this issue Nov 14, 2014 · 1 comment

Comments

@distantcam
Copy link
Contributor

So we use mmbot in HipChat, and HipChat supports a few things beyond just sending a message. You can set the colour of the message, and whether the message is in html or just plain text.

These things would be nice to control from a script, but obviously we don't want to break compatibility with the existing scripts.

So, how about an overload for Send/Reply that takes a key/value pair of items, and the adapter looks for specific keys and uses those values instead of the default?

@PeteGoo
Copy link
Member

PeteGoo commented Nov 14, 2014

I think that's a great idea. I've been thinking along the same lines for Slack, it can allow complex messages that can contain an icon url, colour, and table-like formatting. A key-value collection would fit really well here.

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