diff --git a/src/bot.ts b/src/bot.ts index bd15cff..aec7c57 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -127,9 +127,7 @@ export class Bot { } public endConection() { - this.connection.end(function (err) { - console.log(err); - }); + this.connection.end(); } public static getInstance(): Bot {