Send Messages to Keybase Team Channels

Lets get straight to the point. I wanted to send output of a script sent to a keybase team channel. Typically, you'll send a message in kebyase like this:

kebyase chat send <team, topic, or receipient> "message"

Not bad huh? Now, you can pip the output of a script to keybase chat like this:
kebyase chat send <team, topic, or receipient> "$(python3 somescript)"

And to send the script output to a channel (include the quotes):

keybase chat send --channel "#channelname" <team, topic, or receipient> "$(python3 somescript)"

For example:

keybase chat send --channel '#mychannel' myteam "$(python3 myscript.py)"

Show Comments