Skip to content

Commit

Permalink
fix(Icelink): fix not initialize by client
Browse files Browse the repository at this point in the history
  • Loading branch information
Fab1o0107 committed Dec 22, 2023
1 parent a38ab3d commit a58e42d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Icelink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ export abstract class Icelink extends EventEmitter {
players: { enumerable: true, writable: false },
id: { enumerable: false, writable: true }
});

this.listen();
}

/**
Expand Down Expand Up @@ -184,7 +182,7 @@ export abstract class Icelink extends EventEmitter {
* Listen attaches the event listener to the library you are using.
* @abstract
*/
public abstract listen(): void;
public abstract listen(client: any): void;

/**
* sendPacket is where your library send packets to Discord Gateway.
Expand Down

0 comments on commit a58e42d

Please sign in to comment.