I need help with time input custom command!

Hello all!
Since i was new to here, i always mess up trying to do the speific timezone, for example: If i type “!time Asia/Ho_Chi_Minh” the reply should say: The time is: (…), but instead it replied to me that: “Invald timezone specified”. Any idea how i can do it? Thanks for advance :slight_smile:

!commands add !time The time is: $(time $(query))

After typing !time Asia/Ho_Chi_Minh, Nightbot will reply like this: The time is: March 1st 2018, 10:01:35 pm +07 GMT+07:00.

Thank so much for answering me!!! :smiley:. It does help

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.