Live data from Hacker News

Show HN: Simple Slackbot Library for .Net Core

github.com

1–10 of 14 posts

Re: Show HN: Simple Slackbot Library for .Net Core

#4
Thank you for this. I was intending to write something similar in the next week or so and you've shaved off some time on that.

One comment - when the socket gets disconnected it will throw an exception and in the catch block the connect method is called again. Looks like this would cycle very quickly when no internet connection was available.

Re: Show HN: Simple Slackbot Library for .Net Core

#6
post #4

Thank you for this. I was intending to write something similar in the next week or so and you've shaved off some time on that. One comment - when the socket gets disconnected it will throw an exception and in the catch block the connect method is called again. Looks like this would cycle very quickly when no internet connection was available.

That is a great point. I'll add an issue to the repo now and get a fix in soon. Thank you for the suggestion!

Re: Show HN: Simple Slackbot Library for .Net Core

#7
post #4

Thank you for this. I was intending to write something similar in the next week or so and you've shaved off some time on that. One comment - when the socket gets disconnected it will throw an exception and in the catch block the connect method is called again. Looks like this would cycle very quickly when no internet connection was available.

Just closing the loop, here is the issue link: https://github.com/mattcbaker/dotnetcore-slackbot/issues/1
Post reply on HN