KairosBot is a discord bot made by Eden#2972
for people in different timezones to communicate anything about time seamlessly.
You can either use the public version of KairosBot or host your own kairos bot here. If you are using the public version, skip to the How the bot works section.
Setting up:
git clone https://github.com/Eden4897/KairosBot.git
cd KairosBot
npm i
Config:
- Create
config.json
insrc
- Paste this in
config.json
and fill in theTOKEN
andCLIENT-ID
:
{
"TOKEN": "DISCORD-BOT-TOKEN",
"CLIENT_ID": "DISCORD-APPLICATION-CLIENT-ID"
}
Building and running:
npm i typescript -g
npm run deploy
npm run launch
If you have set your timezone and enabled automatic timestring detection and translation, the bot will automatically reply to any message that it detects a timestring in with the timestamp. It can also recognise and translate multiple timestrings in a single message. Here are examples of timestrings:
12:00
9:34 pm
07:34AM tmr
2:47 8 days ago
09:51pm 7 days later
11:58 ytd\
key: [] is required and () is optional
Configures your timezone
Gets the timezone of a given user (defaults to yourself)
Gets the local time of a given timezone
Gets the local time of a given user
Creates a timestamp according to the data you provide
Enables automatic timestring detection and translation
Disables automatic timestring detection and translation
Sends you some help
shows you examples of timestrings
Replies with "Pong" and the latency