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

Method checking_remaining_time

helper/database.py:180–184  ·  view source on GitHub ↗
(self, user_id)

Source from the content-addressed store, hash-verified

178 )
179
180 async def checking_remaining_time(self, user_id):
181 user_data = await self.get_user(user_id)
182 expiry_time = user_data.get("expiry_time")
183 time_left_str = expiry_time - datetime.datetime.now()
184 return time_left_str
185
186 async def has_premium_access(self, user_id):
187 user_data = await self.get_user(user_id)

Callers

nothing calls this directly

Calls 1

get_userMethod · 0.95

Tested by

no test coverage detected