Class DataManager

Constructors

Properties

client: Client
inited: boolean = false

Methods

  • getBadge - Get a badge by its name.

    Parameters

    • name: string

    Returns Badge

  • getBanner - Get a banner by its name.

    Parameters

    • name: string

    Returns Banner

  • getBlook - Get a blook by its name.

    Parameters

    • name: string

    Returns Blook

  • getBooster - Get the game's current active booster.

    Parameters

    • force: boolean = false

    Returns Promise<Booster>

  • getEmoji - Get an emoji by its name.

    Parameters

    • name: string

    Returns Emoji

  • getItem - Get an item by its name.

    Parameters

    • name: string

    Returns Item

  • getPack - Get a pack by its name.

    Parameters

    • name: string

    Returns Pack

  • getRarity - Get a rarity by its name.

    Parameters

    • name: string

    Returns Rarity

  • Returns Promise<void>