Skip to content

Slack Command !search #72

Open
Open

Description

@apex-omontgomery

!search how to print line java will look through stackoverflow or google for results and then post a link.

Activity

  1. the-bose commented on Oct 1, 2019

    @the-bose

    Hello, I would like to work on this

  2. utkryuk commented on Oct 7, 2019

    @utkryuk

    I would like to take this task.

  3. harjyotbagga commented on Oct 3, 2020

    @harjyotbagga

    Hey, I would like to try and resolve this issue, by adding the !search command. Request you to assign it to me.
    Since I'm just starting out with open source, it'd be great if you could give me a week's time, to solve this issue with a PR. 😄

  4. aaron-junot commented on Oct 4, 2020

    @aaron-junot
    Member

    @harjyotbagga We'd love the help. If you have any questions, let us know!

  5. harjyotbagga commented on Oct 4, 2020

    @harjyotbagga

    Thanks for the positive response! 😄 I've started working on it. Please assign this issue to me. I'll get back in a couple of days.

  6. harjyotbagga commented on Oct 5, 2020

    @harjyotbagga

    @aaron-suarez I needed a bit of help.
    I followed all the steps in the readme.

    • Made a slack app and integrated it into my workspace.
    • Updated the pybot.env variables, using the Secret code and the O-Auth token from the Slack app.
    • Installed all dependencies and was able to successfully run the bot on the localhost.
    • Made my localhost open to the public using ngrok.
    • To test a few commands, I added the command in slash-commands on the slack API, setting the URL as https://54bac023ae26.ngrok.io.

    After which I tried running the command on slack, giving me a "dispatch error" and "401 Unauthorized" on my terminal. Pl note, I have verified the auth tokens and there is no issue there. I would appreciate some guidance from your end.

    [http://github.com/slackapi/bolt-js/issues/579 ] A similar issue has been reported here.

    pybot-term

    pybot-commands

    pybot-slack

  7. aaron-junot commented on Oct 5, 2020

    @aaron-junot
    Member

    Oh weird, so the bot itself is producing a 401? What happens when you hit it manually (with like Postman or curl, rather than going through slack)?

  8. harjyotbagga commented on Oct 7, 2020

    @harjyotbagga

    I have tried sending the request via Postman. I made an OAuth2.0 authentication token by reading the Slack App docs and sent a POST request to https://df94f7be0da7.ngrok.io/slack/commands?command=roll after I updated the slash command request URL in the slack app dashboard.
    I got a 500 Server Internal Error that looks something like,
    pybot-err
    I am not able to understand how do I fix this internal error. I am getting no error on the python terminal when I send the command via slack, but the response states /roll failed with the error "dispatch_failed" and the the ngrok terminal still says 401 Unauthorized.
    Any guidance would be more than helpful.

  9. aaron-junot commented on Oct 7, 2020

    @aaron-junot
    Member

    If you join our slack team at https://operationcode.org/join I'd be happy to set up a slack call and pair with you on troubleshooting it. I don't know from just looking at it what the problem could be.

  10. aaron-junot commented on Oct 9, 2020

    @aaron-junot
    Member

    I just got the /roll failed with the error "dispatch_failed" error on my slack workspace as well... I'm wondering if this warrants an issue. @AllenAnthes when you get a chance can you check and see if you also get this error?

  11. 4 remaining items

  12. aaron-junot commented on Oct 9, 2020

    @aaron-junot
    Member

    I was able to resolve it by making sure that the right ngrok url was in, and that my bot was running correctly. So I'm thinking it might be an issue like that @harjyotbagga

  13. added
    priority: lowThis is an issue that is fine sitting for a while
    and removed
    priority: mediumThis is an issue that has some urgency but isn't an emergency
    on Sep 29, 2021
  14. JudsonStevens commented on Jan 1, 2022

    @JudsonStevens
    Collaborator

    We'll be implementing this based on previous work into the new rewritten bot. This one is fairly low priority though so may take a bit.

  15. added
    project: rewriteThis issue applies to the rewrite of Pybot
    status: awaiting acceptanceIssue has not been accepted - it may need documentation, discussion, or a decision - the ice box
    type: code changeIssue requires changes to the code base
    type: documentationIssue requires a change to the current documentation of the codebase or product
    type: featureIssue involves adding new functionality that doesn't currently exist
    on Jan 1, 2022
  16. changed the title [-]Slack command !search[/-] [+]Slack Command !search[/+] on Jan 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    general: good first issueGood for newcomerspriority: lowThis is an issue that is fine sitting for a whileproject: rewriteThis issue applies to the rewrite of Pybotstatus: awaiting acceptanceIssue has not been accepted - it may need documentation, discussion, or a decision - the ice boxtype: code changeIssue requires changes to the code basetype: documentationIssue requires a change to the current documentation of the codebase or producttype: featureIssue involves adding new functionality that doesn't currently exist

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions