📕
AFKHandler
  • Introduction
  • FAQ
  • Changelog
  • Classes
    • AFKHandler
    • Command
    • SlashCommand
    • Event
    • Feature
  • Methods
    • Commands
    • SlashCommands
    • deleteSlash
    • Events
    • Features
    • load
    • setCooldown
    • time
    • convert
    • convertLong
  • Types
  • AFKHandlerInteraface
  • AFKHandlerOptions
  • CommandInterface
  • SlashCommandInterface
  • EventInterface
  • FeatureInterface
  • CommandHelp
  • (Callbacks)
  • (Utils)
Powered by GitBook
On this page

Was this helpful?

  1. Methods

convertLong

Converts an array with days, hours, minutes and seconds to a string with days, hours, minutes and seconds

public convertLong(converted: number[]): string

  • converted: an array with numbers on it, following the format [days, hours, minutes, seconds]

const time = client.convertLong([5, 2, 30, 42])
PreviousconvertNextAFKHandlerInteraface

Last updated 3 years ago

Was this helpful?