Skip to content

Commit

Permalink
feat(Icelink): use enum for redis
Browse files Browse the repository at this point in the history
  • Loading branch information
Fab1o0107 committed Dec 23, 2023
1 parent c716f98 commit f89abc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Icelink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export abstract class Icelink extends EventEmitter {
nodes: { enumerable: true, writable: false },
connections: { enumerable: true, writable: false },
players: { enumerable: true, writable: false },
redis: { enumerable: false, writable: false },
id: { enumerable: false, writable: true }
});
}
Expand Down Expand Up @@ -182,7 +183,7 @@ export abstract class Icelink extends EventEmitter {
* Listen attaches the event listener to the library you are using.
* @abstract
*/
public abstract listen(client: any): void;
public abstract listen(): void;

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

0 comments on commit f89abc2

Please sign in to comment.