Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1002 Bytes

timenow.md

File metadata and controls

22 lines (17 loc) · 1002 Bytes

About $timenow

This command lets the user get the offset needed for proper datetime reminders in UTC.

Location of Code

The code that implements the above mentioned gits functionality is located here.

Code Description

Functions

timenow(self, ctx, *, date: str):
This function takes as arguments the values provided by the constructor through self, the context in which the command was called, and the current date and 24-hour time.

How to run it? (Small Example)

Let's say that you are in the server that has the Classmate Bot active and online. All you have to do is enter the command 'timenow' with the current date and 24-hour time:

$timenow MMM DD YYYY HH:MM
$timenow SEP 25 2024 17:02

Successful execution of this command will get the offset from the user's current time with UTC.

image