Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dempfi/slack-timezone-bot
🤖⏰ Slack bot to show time in users' timezones
https://github.com/dempfi/slack-timezone-bot
bot slack slack-bot slackbot timezone
Last synced: 3 months ago
JSON representation
🤖⏰ Slack bot to show time in users' timezones
- Host: GitHub
- URL: https://github.com/dempfi/slack-timezone-bot
- Owner: dempfi
- License: apache-2.0
- Created: 2017-10-27T14:23:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T09:43:47.000Z (almost 2 years ago)
- Last Synced: 2024-07-21T07:33:13.611Z (4 months ago)
- Topics: bot, slack, slack-bot, slackbot, timezone
- Language: TypeScript
- Homepage:
- Size: 421 KB
- Stars: 60
- Watchers: 2
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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?
0. You'll need [node.js](https://nodejs.org) and [yarn](https://yarnpkg.com/lang/en/docs/install/);
1. Run `yarn install` in the root to install dependencies;
2. Create and install to your workspace an Slack app by following
[official Slack instructions](https://api.slack.com/slack-apps#creating_apps)
3. Naviagte to `OAuth & Permissions` tab of your bot and add `chat:write:bot`
and `users:read` OAuth Scopes;
4. Obtain Slack `Bot User OAuth Access Token` from that page;
5. Run bot via `TOKEN={BOT_TOKEN} yarn start`;
6. Inivite the bot to channels where you want to use it;
7. Done :)