Skip to content

/time slash command for Slack that translates from your timezone to everybody's in the channel

Notifications You must be signed in to change notification settings

forresto/slack-slash-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/time slash command for Slack

slash-time

inputs

params: (from slash command webhook)
  token:
  channel_id:
  user_id:
  text: 

config: (private Slack API info, best defined in process.env)
  SLASH_TOKEN:
  BOT_HOST:
  BOT_PATH:
  BOT_TOKEN:
  API_TOKEN:
  GENERAL_ID:

callback: (log success / error)

server setup

time formats

  • Today, Tomorrow, Yesterday, last Friday, etc
  • 10/13/2013
  • this Friday 13:00
  • Saturday, 17 August 2013
  • Sat Aug 17 2013 18:40:39 GMT+0900 (JST)

(Examples from the excellent chrono library.)

About

/time slash command for Slack that translates from your timezone to everybody's in the channel

Resources

Stars

Watchers

Forks

Packages

No packages published