Skip to content

Commit 6524acc

Browse files
committed
Subscriptions initial value
Bug fixed
1 parent f0dd1f7 commit 6524acc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class Bot extends EventEmitter {
2929
_ws: WebSocket | undefined
3030
_timeout: number = 5000
3131

32-
private subscriptions: Subscriptions
32+
private subscriptions: Subscriptions = 0
3333
private channels = new Map<number, Channel>();
3434
private users: Array<User> = []
3535
private online: OnlineData = { total: 0 }

0 commit comments

Comments
 (0)