Git Product home page Git Product logo

Comments (8)

crazyoptimist avatar crazyoptimist commented on June 12, 2024

Got you.
And I'm still waiting the new release of slack-ruby for the slack api v2.
We are still stuck on the legacy version.
I remember someone was already working on it...
Are we close to the new release or something else?

from slack-rails-bot-starter.

dblock avatar dblock commented on June 12, 2024

Do you mean switching slack-ruby-bot-server to use oauth v2? I am certainly not working on it and don't think anyone is. The API is available in the client since slack-ruby/slack-ruby-client#303.

from slack-rails-bot-starter.

dblock avatar dblock commented on June 12, 2024

There was slack-ruby/slack-ruby-bot-server#125 but it was left unfinished, please feel free to pick it up!

from slack-rails-bot-starter.

crazyoptimist avatar crazyoptimist commented on June 12, 2024

Yeah, I was just pointing that.
Simply put, I think we need to make using v2 as default mode.
Let me comeback and pick it up sooner.

from slack-rails-bot-starter.

dblock avatar dblock commented on June 12, 2024

I am pretty much done with slack-ruby/slack-ruby-bot-server#129 which removes the real-time portion of slack-ruby-bot-server. For apps that don't need it, one just needs to set the oauth scopes like this:

SlackRubyBotServer.configure do |config|
  config.oauth_scope = ['channels:read', 'chat:write:user']
end

That should be it, and slack-ruby-bot-server-events works out of the box.

I recommend updating this tutorial and removing the RTM part altogether.

from slack-rails-bot-starter.

crazyoptimist avatar crazyoptimist commented on June 12, 2024

Gotcha!

from slack-rails-bot-starter.

crazyoptimist avatar crazyoptimist commented on June 12, 2024

That should be it, and slack-ruby-bot-server-events works out of the box.

Did you confirmed it with the new version of slack app?

from slack-rails-bot-starter.

dblock avatar dblock commented on June 12, 2024

That should be it, and slack-ruby-bot-server-events works out of the box.
Did you confirmed it with the new version of slack app?

I didn't, so you get the v2 auth problem. I'll look into it.

from slack-rails-bot-starter.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.