(self)
| 8 | |
| 9 | class TechifyBots: |
| 10 | def __init__(self): |
| 11 | client = AsyncIOMotorClient(Config.DB_URL) |
| 12 | db = client[Config.DB_NAME] |
| 13 | self.join_requests = db["join_requests"] |
| 14 | self.fsub_cache = db["fsub_cache"] |
| 15 | |
| 16 | async def add_join_req(self, user_id: int, channel_id: int): |
| 17 | await self.join_requests.update_one( |
nothing calls this directly
no outgoing calls
no test coverage detected