remove error callback in end() call

This commit is contained in:
ShuriZma 2024-06-07 08:44:08 +02:00
parent 72c519a794
commit a0003871c2
Signed by: ShuriZma
GPG Key ID: 8D289758EE9B8074
1 changed files with 1 additions and 3 deletions

View File

@ -127,9 +127,7 @@ export class Bot {
}
public endConection() {
this.connection.end(function (err) {
console.log(err);
});
this.connection.end();
}
public static getInstance(): Bot {