t

Namespace

t

Description:
  • Tinkov Command

Source:

Methods

(async, static) getBest(patternnullable, n)

Description:
  • Get array of files, that suffice the pattern if specified

Source:
Parameters:
Name Type Attributes Default Description
pattern string <nullable>
null

search pattern

n number 50

limit

Returns:

(static) isSimilar(name, pattern) → {boolean}

Description:
  • Checks if a given name includes all the specified words in a pattern.

Source:
Parameters:
Name Type Description
name string

The name to check.

pattern string

The pattern containing words to check against the name.

Returns:

True if the name includes all words in the pattern, false otherwise.

Type
boolean

(async, static) tinkov(ctx)

Description:
  • Tinkov Command Handler

Source:
Parameters:
Name Type Description
ctx

(async, static) used(file_unique_id)

Description:
  • Increment the rank values since file was used

Source:
Parameters:
Name Type Description
file_unique_id string

Type Definitions

FileData

Source:
Type:
  • Object