time

Converts a time to ms

public time(text: string): number

  • text: time to convert

const ms = client.time("5d 3h")

Last updated

Was this helpful?