Daniel (dB.) Doubrovkine

Results 3354 comments of Daniel (dB.) Doubrovkine

In my bots I don't mount default endpoints and rolled out my own for teams, e.g. in strava bot I [only return teams that have public API enabled](https://github.com/dblock/slack-strava/blob/master/slack-strava/api/endpoints/teams_endpoint.rb#L26). You'd also...

I have a ton of bots that rewrite the root API and mount it, latest in https://github.com/dblock/discord-strava. That's what I would document to begin with.

I like the `Rack::Cascade` solution because it's clean and independent, but then it doesn't sit behind other stack items, it's a whole stack of its own (e.g. caching or `Rack::Cors`)....

The status endpoint is [here](https://github.com/slack-ruby/slack-ruby-bot-server/blob/master/lib/slack-ruby-bot-server/api/endpoints/status_endpoint.rb#L10). This error comes from [calling `Team.ping`](https://github.com/slack-ruby/slack-ruby-bot-server/blob/bc89f499cd0264856414ea91d6ff2796ee64f712/lib/slack-ruby-bot-server/api/presenters/status_presenter.rb#L27). The stack should contain that at the very least.

@crazyoptimist if you want a challenging workitem after you release this is the one, I see it a lot in production where admins disable access to a bot in their...

> Yes, this is a great idea. It would make the README file much easier to follow. Thanks, looking forward! :)

Catch All Triage - [1](https://github.com/dblock) [2](https://github.com/dbwiddis) [3](https://github.com/krisfreedain) [4](https://github.com/akolarkunnu) [5](https://github.com/mingshl) [6](https://github.com/getsaurabh02)

Closing old autocut, automation will reopen with a new failure.

Want to upgrade rubocop and do this one @simonneutert?

What’s the stack? Error from the server?