dempfi / slack-timezone-bot

πŸ€–β° Slack bot to show time in users' timezones

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slack time zone bot that integrates into your workspace and converts all mentions of time to time zones of users in a channel and shows them a personal message. If user hasn't defined time zone in their profile, the bot will convert time to UTC time zone for them.

πŸ–Ό How does it look like in Slack?

Well... it's very simple β€” one message visible only to one person.

πŸ›  How to use?

  1. You'll need node.js and yarn;
  2. Run yarn install in the root to install dependencies;
  3. Create and install to your workspace an Slack app by following official Slack instructions
  4. Naviagte to OAuth & Permissions tab of your bot and add chat:write:bot and users:read OAuth Scopes;
  5. Obtain Slack Bot User OAuth Access Token from that page;
  6. Run bot via TOKEN={BOT_TOKEN} yarn start;
  7. Inivite the bot to channels where you want to use it;
  8. Done :)
made with ❀️ by @dempfi

About

πŸ€–β° Slack bot to show time in users' timezones

License:Apache License 2.0


Languages

Language:TypeScript 87.2%Language:Shell 12.8%