Hoshimi
NPM
GuideAPI
Hoshimi
NPM
Guide
API

DestroyOptions

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

Signature

export interface DestroyOptions

Properties

2
reasondisconnect

Methods

0

No methods.

Properties

reason#
reason?: DestroyReasons;

The reason for destroying the player.

@type{DestroyReasons | undefined}@defaultDestroyReasons.Stop
disconnect#
disconnect?: boolean;

Whether to clear the queue after destroying.

@type{boolean | undefined}@defaulttrue