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

Example(s)

This will return either true or false depending on if your bot has a player in the current guild or not:

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