mirror of
https://github.com/civsocit/olgram.git
synced 2025-12-16 22:46:18 +00:00
fix for prev
This commit is contained in:
@@ -62,8 +62,8 @@ class Bot(Model):
|
|||||||
return (await self.owner).telegram_id
|
return (await self.owner).telegram_id
|
||||||
|
|
||||||
async def is_promo(self):
|
async def is_promo(self):
|
||||||
owner = await self.fetch_related("owner")
|
await self.fetch_related("owner")
|
||||||
return await owner.is_promo()
|
return await self.owner.is_promo()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
table = 'bot'
|
table = 'bot'
|
||||||
|
|||||||
Reference in New Issue
Block a user