GithubHelp home page GithubHelp logo

"not in channel" error about slacktee HOT 10 CLOSED

coursehero avatar coursehero commented on July 17, 2024
"not in channel" error

from slacktee.

Comments (10)

Chikashi-Kato avatar Chikashi-Kato commented on July 17, 2024

from slacktee.

marcelo321 avatar marcelo321 commented on July 17, 2024

nano .slacktee

webhook_url=""
token="xoxb-1196116783601-redacted"
tmp_dir="tmp"
channel="redacted"
username="redacted"
icon="ghost"
attachment="red"

I used the same command as you, echo abc | slacktee.sh

imagen

from slacktee.

marcelo321 avatar marcelo321 commented on July 17, 2024

I don't know what thing I have wrong but can't figure it out, it appears to be right.

from slacktee.

Chikashi-Kato avatar Chikashi-Kato commented on July 17, 2024

from slacktee.

marcelo321 avatar marcelo321 commented on July 17, 2024

no, but I tried slacktee.sh -c ChannelName & slacktee.sh -c #ChannelName and it also failed.

This are the permissions:

imagen

from slacktee.

marcelo321 avatar marcelo321 commented on July 17, 2024

Ok I resolved it by adding a bot. It works that way, but with the custom app doesn't work for me sadly.

from slacktee.

Chikashi-Kato avatar Chikashi-Kato commented on July 17, 2024

from slacktee.

marcelo321 avatar marcelo321 commented on July 17, 2024

I will try tomorrow or other day. that's it for today, I just wanted to get that running and now going to sleep. Thanks for your help and I hope they don't remove the bot in any time soon.

from slacktee.

Chikashi-Kato avatar Chikashi-Kato commented on July 17, 2024

from slacktee.

Chikashi-Kato avatar Chikashi-Kato commented on July 17, 2024

Hi marcelo321, I know you already closed this issue, but I confirmed chat:wire.public worked. I'm updating the README to add this finding. Thank you for your report!

BTW, I noticed one case I am still see the error slacktee.sh: {"ok":false,"error":"not_in_channel"}.
This happened with the Slack App that is not a member of the target channel but tries to upload a file to the channel. Unfortunately, this is not easy to solve automatically. Technically, we can give channels:join scope to the app and have slacktee to join the target channel before uploading file. But joining a channel isn't trivial.

For now, I am asking the users of -f option to invite slacktee to the target channel during the setup.

from slacktee.

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.