setMaxListeners to 100, version to 0.4.2
This commit is contained in:
parent
7dabd2ca05
commit
0981e2fb78
@ -69,6 +69,8 @@ var Bot = (function (_EventEmitter) {
|
|||||||
// EventEmitter
|
// EventEmitter
|
||||||
this._events = {};
|
this._events = {};
|
||||||
this._userEvents = [];
|
this._userEvents = [];
|
||||||
|
|
||||||
|
this.setMaxListeners(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
_inherits(Bot, _EventEmitter);
|
_inherits(Bot, _EventEmitter);
|
||||||
|
@ -38,6 +38,8 @@ export default class Bot extends EventEmitter {
|
|||||||
// EventEmitter
|
// EventEmitter
|
||||||
this._events = {};
|
this._events = {};
|
||||||
this._userEvents = [];
|
this._userEvents = [];
|
||||||
|
|
||||||
|
this.setMaxListeners(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "telegram-api",
|
"name": "telegram-api",
|
||||||
"version": "0.4.1",
|
"version": "0.4.2",
|
||||||
"description": "Control Telegram bots easily using the new Telegram API",
|
"description": "Control Telegram bots easily using the new Telegram API",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user