Carbon
Core/Classes

GuildSoundboardSoundCreateListener

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 GuildSoundboardSoundCreateListener(): GuildSoundboardSoundCreateListener

Returns

GuildSoundboardSoundCreateListener

Inherited from

BaseListener.constructor

Properties

PropertyModifierTypeDefault valueOverrides
typereadonlyGuildSoundboardSoundCreateListenerEvent.GuildSoundboardSoundCreateBaseListener.type

Methods

handle()

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

Parameters

ParameterType
dataAPISoundboardSound & object
clientClient

Returns

Promise<void>

Overrides

BaseListener.handle


parseRawData()

parseRawData(data, client): APISoundboardSound & object

Parameters

ParameterType
dataAPISoundboardSound
clientClient

Returns

APISoundboardSound & object

Overrides

BaseListener.parseRawData

On this page