slack-cli
slack-cli copied to clipboard
allow send message as bot
Please allow send message as slack app bot account.
We need as_user=false
when use bot token.
Unfortunately it got deprecated and no longer works:
"deprecated_argument": "as_user"
@Wing924 It's possible to send a message as a bot by adding the chat:write:bot
permission to your app (See docs), and then adding the bot to the channel where you want to post your message. You'll need to initialize using the Bot User OAuth Access Token
and not the OAuth Access Token
.
I hope that his helps.