Hoshimi
NPM
GuideAPI
Hoshimi
NPM
Guide
API

PlayerEvent

The base interface for player events.

API/Interfaces/PlayerEvent
hoshimi/src/types/Player.d.ts

Signature

export interface PlayerEvent<Type>

Properties

3
typeopguildId

Methods

0

No methods.

Properties

type#
type: Type;

The type of the event.

@type{Type}
op#
op: OpCodes.Event;

The operation code for the event.

@type{OpCodes.Event}
guildId#
guildId: string;

The guild id associated with the event.

@type{string}