Giter VIP home page Giter VIP logo

Comments (5)

dblock avatar dblock commented on August 17, 2024

Did you follow https://github.com/slack-ruby/slack-ruby-bot-server/blob/master/UPGRADING.md#upgrading-to--100?

from slack-ruby-bot-server.

dblock avatar dblock commented on August 17, 2024

You have two problems, the first is undefined SlackRubyBot. That comes from RTM, you should find where you're referencing it and get rid of it.

The second problem looks legit. Have to change oauth to the v2 to make new slack apps, I forgot about that.

from slack-ruby-bot-server.

crazyoptimist avatar crazyoptimist commented on August 17, 2024

You have two problems, the first is undefined SlackRubyBot. That comes from RTM, you should find where you're referencing it and get rid of it.

Check the very top of this thread, SlackRubyBotServer::App#configure_global_aliases! function is referencing it.
For the second issue, please check if you can connect successfully with a new v2 app.
Also you will have to change this in your public/index.html.erb
From

<a href="https://slack.com/oauth/authorize?...

To

<a href="https://slack.com/oauth/v2/authorize?

from slack-ruby-bot-server.

crazyoptimist avatar crazyoptimist commented on August 17, 2024

Did you follow https://github.com/slack-ruby/slack-ruby-bot-server/blob/master/UPGRADING.md#upgrading-to--100?

I'm sure I did. What could be my missing point?

from slack-ruby-bot-server.

crazyoptimist avatar crazyoptimist commented on August 17, 2024

Ahh, I got your code now, you used SlackRubyBotServer::Config.oauth_version
Okay, let me try with the new code again.

from slack-ruby-bot-server.

Related Issues (20)

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.