https://github.com/zvory/timezonebot
discord bot that converts times to ease co-ordination of global servers
https://github.com/zvory/timezonebot
discord discord-js timezone timezone-conversion timezones
Last synced: 2 months ago
JSON representation
discord bot that converts times to ease co-ordination of global servers
- Host: GitHub
- URL: https://github.com/zvory/timezonebot
- Owner: zvory
- Created: 2017-09-26T17:16:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-03T23:35:02.000Z (over 8 years ago)
- Last Synced: 2025-07-27T18:55:41.833Z (11 months ago)
- Topics: discord, discord-js, timezone, timezone-conversion, timezones
- Language: JavaScript
- Size: 88.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## timezonebot
This is a discord bot that eases global co-ordination: give it a time and place, and it will translate that time to a variety of timezones.

### Running the bot
You'll need:
- A google maps [timezone/geocoding api key](https://developers.google.com/maps/documentation/timezone/intro).
- A discord [bot token](https://discordapp.com/developers/docs/intro).
- Node.js in some late version that supports async functions (I developed on v8.6.0). Node.js LTS is insufficient.
Clone this repository.
```bash
npm install
DISCORD_BOT_TOKEN=YOUR_DISCORD_BOT_TOKEN_HERE GOOGLE_MAPS_API_KEY=YOUR_GOOGLE_MAPS_API_KEY node bot.js
```
`npm install` might give a bunch of warnings, that's caused by `discord.js` you can probably ignore those.
Let me know if something doesn't work by making an issue or emailing me. I promise I will help you.