Discord Player

GuildNodeManager

No description provided

GuildNodeManager

new GuildNodeManager(player);
ParameterTypeOptional
playerPlayer

Properties

public cache: any

public player: any

Methods

public create(guild, options): GuildQueue<T>

Create guild queue if it does not exist

ParameterTypeOptionalDescription
guildGuildResolvableThe guild which will be the owner of the queue
optionsGuildNodeCreateOptions<T>Queue initializer options

public delete(node): boolean

Delete queue

ParameterTypeOptionalDescription
nodeNodeResolvableQueue resolvable

public get(node): null | GuildQueue<T>

Get existing queue

ParameterTypeOptionalDescription
nodeNodeResolvableQueue resolvable

public has(node): boolean

Check if a queue exists

ParameterTypeOptionalDescription
nodeNodeResolvableQueue resolvable

public resolve(node): undefined | GuildQueue<T>

Resolve queue

ParameterTypeOptionalDescription
nodeNodeResolvableQueue resolvable

public resolveId(node): null | string

Resolve queue id

ParameterTypeOptionalDescription
nodeNodeResolvableQueue resolvable