-
Notifications
You must be signed in to change notification settings - Fork 0
Commands and syntax
Here's the list of commands and how they are supposed to be written.
For a less detailed list directly inside Discord, use a!help
.
Notes:
COUNTRY
is a country name ;
COUNTRYCODE
is a unique two-letter code for some country. See the list here ;
CITY
is a city name (with more than 15k inhabitants in it) ;
CITY(COUNTRYCODE)
makes you able to specify the country of the city, in case they are more than one city that have the same name ;
TIMEZONE
is a timezone identifier. See the list here (column TZ, however please note that some may not work) ;
LOCATION
is any of the five things mentioned above ;
TIME
is a time and/or date indicator. See the accepted formats in .
a!time
tells the current time at any city, country or timezone in the world.
a!time LOCATION
.
a!time Athens
tells the current time at Athens
a!time China
tells the current time at Beijing (being the capital of China
a!time CET
tells the current time in timezone CET (Central European Time)
a!time Tripoli(LB)
tells the current time at Tripoli, in Lebanon (Tripoli also being a Libyan city)
a!conv
convert a date or a time set in a timezone into another(s) timezone(s).
a!conv TIME at LOCATION to LOCATION
.
The "at" can be interchanged with "in" if it makes more sense.
You can also specify more than one target location: a!conv TIME at LOCATION to LOCATION, LOCATION, LOCATION
and so on.
a!conv 15 at Marseille to Helsinki
converts 15:00 in Marseille time to Helsinki time
a!time 16,1am at Moscow to London
converts 1:00 (or 1 AM) on the 16th day-of-month in Moscow time to London time
a!time 11:03 in CET to PST
converts 11:03 in Central European time to Pacific Standard Time
a!time 23/02,21:00 in Reykjavík(IS) to Los Angeles, New York City, Moscow, JP
converts 21:00 on the February 23 in Reyjavík time to Los Angeles, New York City, Moscow and Tokyo time
a!sun
displays some info about the sun in some city, like sunset or sunrise for that day.
a!sun LOCATION
.
Exception: obviously, LOCATION
can not be a TIMEZONE
here!
a!sun Berlin
displays sun info about Berlin.
a!sun SK
displays sun info about Bratislava (capital of Slovakia, or SK).
The same thing as a!sun
, but with more detail.
a!sundetails LOCATION
.
Exception: obviously, LOCATION
can not be a TIMEZONE
here!
a!sundetails India
displays detailed sun info about New Delhi (capital of India).
a!sundetails Lima
displays detailed sun info about Lima.
Self-explanatory, I guess...
a!help
.