Class DailyModuleInternal

DailyModule class provides methods to interact with Genshin Impact's daily module endpoints.

Constructors

Methods

Constructors

Methods

  • Get the daily reward for a specific day or the current day

    Parameters

    • day: null | number = null

      The day to retrieve the reward for. If null, retrieve the reward for the current day.

    Returns Promise<IDailyReward>

    • A promise that resolves with the daily reward for the specified day or the current day
    • If the specified day is not a valid date in the current month or if the reward for the specified day is undefined.