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
Properties
Property | Modifier | Type | Default value | Overrides |
---|---|---|---|---|
type | readonly | GuildSoundboardSoundCreate | ListenerEvent.GuildSoundboardSoundCreate | BaseListener .type |
Methods
handle()
abstract
handle(data
,client
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
data | APISoundboardSound & object |
client | Client |
Returns
Promise
<void
>
Overrides
parseRawData()
parseRawData(
data
,client
):APISoundboardSound
&object
Parameters
Parameter | Type |
---|---|
data | APISoundboardSound |
client | Client |
Returns
APISoundboardSound
& object