Skip to content

Commit e185d3f

Browse files
committed
fix: Remove deletion of webhook and getting updates on bot startup
1 parent 61aa544 commit e185d3f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/bot/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ export class CopBot {
4949

5050
if (isProduction) {
5151
try {
52-
await this._bot.api.deleteWebhook();
53-
this._bot.api.getUpdates({ offset: -1 });
5452
const app = express();
5553
app.use(express.json());
5654
app.post(webhookPath, async (req, res) => {

0 commit comments

Comments
 (0)