Skip to content

Commit 4544487

Browse files
committed
bug fixes
1 parent 8195b6b commit 4544487

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"mysql": "^2.18.1",
1919
"request": "^2.88.2",
2020
"telegraf": "^3.38.0",
21-
"unzipper": "^0.10.11"
21+
"unzipper": "^0.10.11",
22+
"axios": "^0.21.1"
2223
},
2324
"install": "npm run build",
2425
"directories": {

telegram/broadcast.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ var q = new Queue(function (task, cb) {
1111
})
1212

1313
class BroadCastMessage extends stringUDFs {
14-
constructor() { }
14+
constructor() {
15+
super(params)
16+
}
1517

1618
broadcastMessages = (BotOrToken, users, text, params, msg_per_seconds = 25, isSameParams = true, isSameMessage = true) => {
1719
let _this = this;

0 commit comments

Comments
 (0)