MCPcopy Create free account
hub / github.com/VJBots/VJ-Forward-Bot / add_file

Method add_file

plugins/db.py:30–32  ·  view source on GitHub ↗
(self, file_id)

Source from the content-addressed store, hash-verified

28 self.client.close()
29
30 async def add_file(self, file_id):
31 file = {"file_id": file_id}
32 return await self.files.insert_one(file)
33
34 async def is_file_exit(self, file_id):
35 f = await self.files.find_one({"file_id": file_id})

Callers 2

pub_Function · 0.80
restart_pending_forwadsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected