$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
1client.command({2 name: 'hasplayer',3 code: `4 $hasPlayer5 `6});
This will return either true or false depending on if the current instance has a player in the current guild
1module.exports = [{2 name: "hasplayer",3 code: `4 $hasPlayer5 `6}]