Class: Locale

Strings~ Locale


new Locale()

Bind this.
Source:

Members


fillOne

Empty string to replace with passed data.
Source:

username

The bot's username.
Source:

Methods


get(key [, rep])

Get string with given key and replace placeholders.
This:
  • Locale
Parameters:
Name Type Argument Description
key string Key of string to lookup.
rep string <optional>
<repeatable>
Placeholder replacement strings.
Source:
Returns:
String with replaced placeholders, or null if unable to find.
Type
string