MCPcopy Create free account
hub / github.com/TechifyBots/Rename-Bot / __init__

Method __init__

plugins/fsub.py:10–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8
9class 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(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected