slick status¶
Set or clear the authenticated user's Slack status.
Requires a user token
Requires a user token with users.profile:write; bot-token profiles
cannot set a user's status.
This command is for your Slack profile status. Use health for
Slack service health and Slack Web API reachability.
meta.command (status.set vs status.clear) distinguishes which path
ran. The pre-v0.4.0 cleared action-result bool was removed; the action
label conveys the outcome.
status set¶
Set the user's Slack status. Text and emoji may be passed as flags or as positional arguments.
Set status with flags and a relative expiry:
Flags¶
Flags
| Flag | Value | Description |
|---|---|---|
-t, --text |
<TEXT> |
Status text |
-e, --emoji |
<EMOJI> |
Status emoji |
-x, --expires-in |
<DURATION> |
Status expiration duration |
-U, --until |
<TIME> |
Status expiration time |
-n, --dry-run |
Preview without mutating |
--expires-in accepts Go duration strings (30m, 2h, 8h30m).
--until accepts an RFC3339 timestamp.
Output¶
Human (no expiration set):
Human (with --expires-in 2h):
JSON envelope (no expiration). expiration uses omitempty, so it is
absent in the envelope when unset:
JSON envelope with expiration. The value is a Unix timestamp (seconds since epoch) at which the Slack API will clear the status:
status clear¶
Clear the user's Slack status.
Flags¶
Flags
| Flag | Value | Description |
|---|---|---|
-n, --dry-run |
Preview without mutating |
Common errors¶
| Error | Cause | Fix |
|---|---|---|
auth_failure: status requires a user token with users.profile:write |
Bot-token profile is active. | Switch to a user-token profile (auth switch). |
missing_scope (auth_failure, exit 1) |
Token lacks users.profile:write. |
Update the manifest to include the scope, regenerate, re-auth. |
validation_error: status text or emoji is required |
Both fields empty on status set. |
Provide at least one of --text / --emoji, or use positional args. |
See also¶
auth— switch between user-token and bot-token profiles.health— check Slack service and Web API health.manifest— generate a manifest that includesusers.profile:write.- Slack API method:
users.profile.set.