GuildNodeManager
No description provided
GuildNodeManager
Parameter | Type | Optional |
---|---|---|
player | Player | ❌ |
Properties
public cache: any
public player: any
Methods
public create(guild, options): GuildQueue<T>
Create guild queue if it does not exist
Parameter | Type | Optional | Description |
---|---|---|---|
guild | GuildResolvable | ❌ | The guild which will be the owner of the queue |
options | GuildNodeCreateOptions<T> | ❌ | Queue initializer options |
public delete(node): boolean
Delete queue
Parameter | Type | Optional | Description |
---|---|---|---|
node | NodeResolvable | ❌ | Queue resolvable |
public get(node): null | GuildQueue<T>
Get existing queue
Parameter | Type | Optional | Description |
---|---|---|---|
node | NodeResolvable | ❌ | Queue resolvable |
public has(node): boolean
Check if a queue exists
Parameter | Type | Optional | Description |
---|---|---|---|
node | NodeResolvable | ❌ | Queue resolvable |
public resolve(node): undefined | GuildQueue<T>
Resolve queue
Parameter | Type | Optional | Description |
---|---|---|---|
node | NodeResolvable | ❌ | Queue resolvable |
public resolveId(node): null | string
Resolve queue id
Parameter | Type | Optional | Description |
---|---|---|---|
node | NodeResolvable | ❌ | Queue resolvable |