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

Method set_uploadlimit

helper/database.py:106–107  ·  view source on GitHub ↗
(self, id, limit)

Source from the content-addressed store, hash-verified

104 await self.col.update_one({'_id': int(id)}, {'$set': {'usertype': type}})
105
106 async def set_uploadlimit(self, id, limit):
107 await self.col.update_one({'_id': int(id)}, {'$set': {'uploadlimit': limit}})
108
109 async def set_reset_dailylimit(self, id, date):
110 await self.col.update_one({'_id': int(id)}, {'$set': {'daily': date}})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected