Carbon
Core/Classes

GuildBanRemoveListener

Base class for creating event listeners that handle Discord gateway events. This abstract class defines the structure for event listeners and provides type safety for event handling.

Extends

Constructors

Constructor

new GuildBanRemoveListener(): GuildBanRemoveListener

Returns

GuildBanRemoveListener

Inherited from

BaseListener.constructor

Properties

PropertyModifierTypeDefault valueOverrides
typereadonlyGuildBanRemoveListenerEvent.GuildBanRemoveBaseListener.type

Methods

handle()

abstract handle(data, client): Promise<void>

Parameters

ParameterType
dataGatewayGuildBanModifyDispatchData & object
clientClient

Returns

Promise<void>

Overrides

BaseListener.handle


parseRawData()

parseRawData(data, client): GatewayGuildBanModifyDispatchData & object

Parameters

ParameterType
dataGatewayGuildBanModifyDispatchData
clientClient

Returns

GatewayGuildBanModifyDispatchData & object

Overrides

BaseListener.parseRawData

On this page