ngonhan2k5 / TimeAlex

A Discord Bot help translate mentioned time or question about remote place time for user across timezone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord BotsDiscord Bots

TimeAlex

A Discord Bot help translate mentioned time for user across timezone

TimeAlexa will check people's text content and mark up messages have text parts that considerated a time

How to:

  • Chat messages contain time text will be react 🕰
  • If you react with the 🕰, a time translate would be PM to you (only with React Message option is on)

Add to your Discord Server!

Register Setting

@TimeAlexa reg {timezone} [react on|off]

react on will enable DM translate when react 🕰 a message

Check Settings

@TimeAlexa reg

without any arguments

Find Timezone Name

@TimeAlexa find {keyword}
  • {keyword} with all upcase will take as abbreviation like PST
  • otherwise will take as timezone name like Los_Angeles or just los or Country name like Bulgari or Viet

Current Time

@TimeAlexa now [@mention_user|timezone_search]
  • wo. @mention_user: Display current time with your registerd timezone Example: @TimeAlexa now
  • with @mention_user: will show current time in mentioned user's timezone (if he registed) Example: @TimeAlexa now @username
  • with timezone_search: will show current time in found first timezone Example: @TimeAlexa now los

Considerated time - Supported

  • Short hour: 2 am 5pm
  • With minutes: 2:30am 12:03 pm
  • With abbr: 2:30am EST 12:03 pm PST

Convert Time (in PM)

  • From abbr to abbr: 2pm EST > PST 11:00 AM PST > EST
  • from your registered tz: 2pm > PST

About

A Discord Bot help translate mentioned time or question about remote place time for user across timezone

License:MIT License


Languages

Language:JavaScript 98.3%Language:HTML 1.7%