Skip to content

$hasPlayer

$hasPlayer will return either true or false depending on if the current instance has a player in the current guild.

Usage

$hasPlayer[guildID?]

Parameters

Field Type Description Required
guildID? snowflake guild ID false

Example(s)

This will return either true or false depending on if the current instance has a player in the current guild

1
client.command({
2
name: 'hasplayer',
3
code: `
4
$hasPlayer
5
`
6
});