GithubHelp home page GithubHelp logo

Comments (3)

spurin avatar spurin commented on July 19, 2024

Looks like it's related to this - https://api.slack.com/changelog/2021-10-rtm-start-to-stop

Am guessing that most existing users may have signed up prior to November 2021 -

"Beginning today, you'll see method_deprecated warnings returned by rtm.start. After November 30, 2021, newly created apps will see the warning migrate to a method_deprecated error."

from greetingslack.

spurin avatar spurin commented on July 19, 2024

Had a play around and this seems to be working locally for me with a simple change

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): slack.com:443
DEBUG:urllib3.connectionpool:https://slack.com:443 "GET /api/rtm.connect?token=<removed> HTTP/1.1" 200 298
INFO:root:{'ok': True, 'url': '<removed>', 'team': {'id': '<removed>', 'name': '<removed>', 'domain': '<removed>'}, 'self': {'id': '<removed>', 'name': 'greetingbot'}}
{'type': 'hello', 'fast_reconnect': False, 'region': 'eu-west-2', 'start': True, 'host_id': 'gs-lhr-wc-wpfl'}

Have raised 2 merge requests for your convenience -

  1. Just the fix: #29
  2. The fix, alongside with formatting (using black) and documentation updates (for Python 2.7 and 3 instructions): : #30

Very much appreciate your open source efforts! Thank you!!

from greetingslack.

orliesaurus avatar orliesaurus commented on July 19, 2024

Thank you! Merged your work in, this was very useful!

from greetingslack.

Related Issues (13)

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.