Skip to content

Commit

Permalink
Revert "Add telegraf-throttler"
Browse files Browse the repository at this point in the history
This reverts commit d040bb1.
  • Loading branch information
MKRhere authored and C0rn3j committed Feb 5, 2021
1 parent ccfdf1e commit 62b3ab1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@
process.chdir(__dirname);
require('ts-node').register({ transpileOnly: true });

const { telegrafThrottler } = require('telegraf-throttler');

// Utils
const { logError } = require('./utils/log');

const bot = require('./bot');

bot.use(
telegrafThrottler(),
require('./handlers/middlewares'),
require('./plugins'),
require('./handlers/commands'),
Expand Down
13 changes: 0 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"spamwatch": "^0.2.0",
"string-replace-async": "^1.2.1",
"telegraf": "^3.38.0",
"telegraf-throttler": "^0.2.0",
"ts-node": "^8.9.1",
"typescript": "^3.8.3",
"xregexp": "^4.2.0"
Expand Down

0 comments on commit 62b3ab1

Please sign in to comment.