jammerware / margiebot

MargieBot is a .NET library designed to make building bots for Slack fast, easy, and fun.
MIT License
122 stars 42 forks source link

Add support for setting the typing indicator #3

Closed tonymobster closed 8 years ago

tonymobster commented 8 years ago

It would be great if Margie could set the typing indicator. "Giving users some instant feedback really helps reassure them when the bot is taking some time to respond, such as when making API calls or doing some processing that takes a few seconds." - Building an intelligent bot

Wit.ai integration wouldn't be bad either ;)

Great library, the best and most fun I've worked with so far! Lemme know if I can be of assistance.

jammerware commented 8 years ago

Good idea. I'll look into this. Thanks for your feedback, and thanks for trying Margiebot out!

chriscore commented 8 years ago

Thanks for an excellent slack bot library :) This would be a great idea, perhaps having the bot set the typing indicator whilst running the GetResponse method on the responder would make sense?

jammerware commented 8 years ago

Yeah, this is a great idea, and something I'd like to do. I'm deep in the process of porting MargieBot to .NET Core 1.0.0, and I'll see if I can tackle this while I'm about it. Thanks for the kind words and the feedback!

jammerware commented 8 years ago

I'm still stabilizing the port to .NET Core, but the new version does automatically indicate that the bot is typing while a responder is being evaluated and provides API access to set the typing indicator (check it out here).

Stability issues seem to be affecting use of MargieBot with the WPF host app (MargieBot.UI), but otherwise things seem pretty decent after the port. If you're in a situation where you can experiment, I'd suggest updating your MargieBot ref to 2.0.4 or greater if you want to try out the typing indicator.

Thanks for your patience!