Function getKV

  • Fetches the user data KV from the Lanyard API

    Returns

    The user data KV

    Throws

    Error if the request failed

    Parameters

    • userId: string

      The user ID to fetch the data for

    • key: string

      The key to fetch the data for

    Returns Promise<string>

Generated using TypeDoc