slack-cli icon indicating copy to clipboard operation
slack-cli copied to clipboard

Support status expiration dates

Open pschmitt opened this issue 3 years ago • 1 comments

This adds support for the status_expiration parameter.

It value is set via the -e|--expire flag and can either be:

  • an arbitrary UNIX timestamp (default)
  • if prefixed with +: a number of seconds that will get added to the current time (eg: +300 for 5 minutes, +3600 for 1 hour)

https://api.slack.com/docs/presence-and-status#user-presence-and-status__custom-status__reading-statuses

pschmitt avatar Sep 10 '21 06:09 pschmitt

Oh. I should probably have checked the open PRs before submitting a new one.

#98 is very similar.

pschmitt avatar Sep 10 '21 06:09 pschmitt