async destroy(guild) {
    const id = typeof guild === "string" ? guild : guild.id;
    const player = this.players.get(id);
    if (player) {
      await player.destroy(true);
      return this.players.delete(id);
    } else return false;
  }
/**
   * Destroys a player and leaves the connected voice channel.
   * @param guild The guild id of the player to destroy.
   * @since 2.1.0
   */
Destroys a player and leaves the connected voice channel.
@param guild The guild id of the player to destroy.
Destroys a player and leaves the connected voice channel . @param guild The guild id of the player to destroy .
async destroy(guild) {
    const id = typeof guild === "string" ? guild : guild.id;
    const player = this.players.get(id);
    if (player) {
      await player.destroy(true);
      return this.players.delete(id);
    } else return false;
  }
async destroy ( guild ) { const id = typeof guild === "string" ? guild : guild . id ; const player = this . players . get ( id ) ; if ( player ) { await player . destroy ( true ) ; return this . players . delete ( id ) ; } else return false ; }
Destroys a player and leaves the connected voice channel.
Destroys a player and leaves the connected voice channel .