Skip to content

Commit 4eb9b47

Browse files
committed
chore(bot): Remove call to deleteWebhook() in production mode
1 parent fa4b5e6 commit 4eb9b47

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/bot/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export class CopBot {
4949

5050
if (isProduction) {
5151
try {
52-
await this._bot.api.deleteWebhook();
5352
const app = express();
5453
app.use(express.json());
5554
app.post(webhookPath, async (req, res) => {

0 commit comments

Comments
 (0)