Open kf0ezb opened 1 year ago
hmm, I didn't think spaces were allowed in channel names. You can list all of the channels it can see and grep that list.
➜ slackcat --list | grep ray
[default] [im] ray.janoka
➜ echo "asdf" | slackcat -c ray.janoka -s
slackcat connected to Super League Gaming as slackcat
slackcat starting stream
slackcat flushing remaining messages to Slack...
slackcat posted 1 message lines to ray.janoka
If you can show me an error maybe I can help.
Ray, thanks for the response. What is displayed in the Slack app for channels and what is returned by the –list option are indeed different. The app shows my personal channel as “Doug Lewis” when I list the channels it shows as “doug.lewis” that was what I was missing.
Thanks again
Doug Lewis
From: Ray @.> Reply-To: bcicen/slackcat @.> Date: Sunday, June 11, 2023 at 23:16 To: bcicen/slackcat @.> Cc: Doug Lewis @.>, Author @.***> Subject: Re: [bcicen/slackcat] posting to channels with a space in the name or to personal channel (Issue #89)
hmm, I didn't think spaces were allowed in channel names. You can list all of the channels and grep that list.
➜ slackcat --list | grep ray.janoka [default] [im] ray.janoka ➜ echo "asdf" | slackcat -c ray.janoka -s slackcat connected to Super League Gaming as slackcat slackcat starting stream slackcat flushing remaining messages to Slack... slackcat posted 1 message lines to ray.janoka If you can show me an error maybe I can help.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
good to hear! it seems that generally spaces in conversations (channels/users) names are not allowed, but I couldn't find any documentation from Slack with the specifics. when I try to create a channel with a space in the app it switches it to a dash, but either way seems like you got it figured out.
I probably am just missing something but I am unable to post to a channel that has a space in the name or to my personal channel. I have tried enclosing the channel in both double quotes and single quotes but that doesn't work. Please advise.