Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support status expiration dates #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pschmitt
Copy link

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
Copy link
Author

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

#98 is very similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant