Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Latest commit

 

History

History
41 lines (27 loc) · 905 Bytes

commands.md

File metadata and controls

41 lines (27 loc) · 905 Bytes

Commands

Debugging

Output of Debug Informations like Connection, Identities, Channels etc.

php app/console slack:debug

Messaging

Sending a Message directly from Console

php app/console slack:message @fooUser BazUser "Lorem ipsum dolor sit amet .."
php app/console slack:message "#FooChannel" BazUser "Lorem ipsum dolor sit amet .."

Switch Topic of a Channel

You can switch the Topic of a Channel

php app/console slack:channels:topic "C02GABTDT" "Lorem ipsum dolor sit amet .."

# If you don't have the ChannelId it must be discovered while processing
php app/console slack:channels:topic "#foo-channel" "Lorem ipsum dolor sit amet .." -d

Read userdata from api

you will get a table of userdata.

# Read all users from your team
php app/console slack:users

# Read a single user
php app/console slack:users --user=nameOfTheUser