An interface for clearable DataProviders, it contains the methods that need to be implemented for any DataProvider to clear its data. This is a separate interface as it is not guaranteed that a data provider implementation may be able to clear all data.

Hierarchy

  • ClearableDataProvider

Methods

Methods

  • Clear all data in a guild.

    Parameters

    • guild: Guild

      The guild to clear the data from.

    Returns Promise<void>

    A promise that resolves once all data is deleted.

    Emits

    client#dataProviderClear

  • Clear all data in a global scope.

    Returns Promise<void>

    A promise that resolves once all data is deleted.

    Emits

    client#dataProviderClear

Generated using TypeDoc