Skip to content

Commit

Permalink
style use tab instead of spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
flav-code committed Aug 13, 2024
1 parent 79bab90 commit 25e6e1f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/guild/Player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export enum PlayerEventType {
}

export interface MoveOptions {
name?: string;
force?: boolean;
name?: string;
force?: boolean;
}

export interface Band {
Expand Down Expand Up @@ -246,12 +246,12 @@ export class Player extends EventEmitter implements IPlayer {
};
}

/**
* Move player to another node
* @param options.name Name of node to move to, or the default ideal node
* @param options.force Force the move and ignore errors when destroying the original player fails (e.g. during Node disconnect)
* @returns true if the player was moved, false if not
*/
/**
* Move player to another node
* @param options.name Name of node to move to, or the default ideal node
* @param options.force Force the move and ignore errors when destroying the original player fails (e.g. during Node disconnect)
* @returns true if the player was moved, false if not
*/
public async move({ name, force }: MoveOptions = {}): Promise<boolean> {
const connection = this.node.manager.connections.get(this.guildId);
const node = this.node.manager.nodes.get(name!) ?? this.node.manager.getIdealNode(connection);
Expand Down

0 comments on commit 25e6e1f

Please sign in to comment.