destroy method
void
destroy(
- Snowflake guildId
Destroys a player
Implementation
void destroy(Snowflake guildId) {
_sendPayload("destroy", guildId);
// delete the actual player
this._players.remove(guildId);
// delete the relationship between this node and the player so
// if this guild creates a new player, it can be assigned to other node
this._cluster._nodeLocations.remove(guildId);
}