See the time in different cities on Slack with Nimbella Commander
“A global awakening can not happen. We all live in different time zones.”
―Ljupka Cvetanova, The New Land
Have you ever wanted to see what time it is in a particular city before reaching out to a friend who lives in that city? Maybe you needed to set up a reasonable time to schedule a meeting with coworkers who live in different parts of the world. With Nimbella Commander, you can find out what time it is in any part of the world in one command in your Slack workspace, which will allow you and your team to have an easier time to schedule discussions.
Additionally, I’ll show you how to set the default cities so that you don’t have to specify the city names every time you run the command.
In just 3 simple steps, we will install Commander into Slack, install the times command, and run the command to see the current time in different cities. I’ll also teach you how to edit code to set the default city names, allow other users to run the command and see the command logs or execution history.
- Add Nimbella Commander to your Slack page. You can add it by searching “Nimbella” in the apps tab on Slack. You can also add it by going to our official website and clicking the “Add to Slack” button.
- In order to get times working, you’ll need to install the translate Command Set into the default app. Command Sets are a packaging specification for Slack commands, and a convenient way to share commands via GitHub or open source. Command Sets are installed into your Slack teams via the Nimbella Commander by typing the command
/nc csm_install timesin your Slack prompt.
- Finally, run the built-in command
/nc times [<comma-separated-city-list>]to see current time in specific cities.
If you don’t like specifying cities list every time you run the command and you have a predefined list of cities. You can change the default city list by running
/nc command_code times
Clicking on edit the code link will lead you to a new browser tab.
You can change the very first code line to include your desired cities list, by default it’s 'delhi, rome, new york, los angeles'.
Now only running the
/nc times will show current time in those cities.
You likely want other teammates in your Slack team to run this command. Nimbella Commander offers a neat feature to allow other users to run specific commands. For example, you can allow access to the translate command to other users using
/nc command_runners times + @user1 + @user2 , substituting for “user1” and “user2” the Slack names of your teammates.
It’s worth also mentioning that you have access to an audit trail to see who’s run your commands. This is useful for administrators and team oversight where appropriate.
/nc command_log times
Using Nimbella’s access control you can also limit who can view and edit the code that implements a particular command as well. With Audit Logs, you have accountability and historical data readily available at your fingertips. These are powerful features of the Commander that don’t exist in Slack otherwise. For more information about Commander, visit our website. We’d also love to hear from you via our community Slack channel or on GitHub.
If you wish to add Commander to your Slack account, then click this link to get started!
- How to Manage your Netlify Website from Slack?
- How to Build a Serverless Slack Command in minutes
- A Serverless Cloud for Stateful Applications
- A Template for Creating a Serverless OCR App
- Development at the Speed of Innovation – Nimbella, the Serverless Cloud
- Software Security Features on Enterprise Serverless Slack Apps Enabled by Nimbella Commander
- Coronathon India’s first demo day has 18 projects to help fight COVID-19
- See the time in different cities on Slack with Nimbella Commander
- Greet your friends in their native language in Slack with Nimbella Commander
- Install Commander on your Mattermost Instance
- Get your DigitalOcean Billing Info in Slack with Nimbella Commander
- Get live Coronavirus stats in Slack with Nimbella Commander
- Create BlueJeans meetings on Mattermost using Commander
- Get your AWS billing info in Slack with Nimbella Commander
- Get your Datadog billing info in Slack with Nimbella Commander
- Serverless Slack Apps and Slash Commands
- How to use Slack Effectively with Nimbella Commander?
- A Template to Build a Serverless Chat App
- Using Docker actions, running Golang, and other fun things with OpenWhisk
- The duality between serverless functions and APIs
- Serverless HTTP handlers with OpenWhisk
- Serverless functions in your favorite language with OpenWhisk
- Run Swiftly: precompiled Swift actions
- Performance debugging for serverless functions using the Cloud Shell
- Locally debugging OpenWhisk actions
- Composing functions into applications
- A Serverless Composition of Functions
- The Serverless Contract
- The dawn of the Cloud Computer
- Security and Serverless Functions