From d869bd51e04cd30c2d9665632511bdea08533da5 Mon Sep 17 00:00:00 2001 From: Anas Tayyar Date: Mon, 6 Nov 2023 14:14:30 +0200 Subject: [PATCH] Fix leech dump chat if int --- bot/helper/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/helper/common.py b/bot/helper/common.py index c8669574e02..980b360dfa8 100644 --- a/bot/helper/common.py +++ b/bot/helper/common.py @@ -220,7 +220,7 @@ async def beforeStart(self): elif self.upDest.startswith("u:"): self.upDest = self.upDest.lstrip("u:") self.userTransmission = IS_PREMIUM_USER - if self.upDest.isdigit() or self.upDest.startswith("-"): + if self.upDest.isdigit() or self.upDest.startswith("-"): self.upDest = int(self.upDest) if self.upDest: if self.userTransmission: