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

Method get_free_trial_status

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

Source from the content-addressed store, hash-verified

205 return all_premium_users
206
207 async def get_free_trial_status(self, user_id):
208 user_data = await self.get_user(user_id)
209 if user_data:
210 return user_data.get("has_free_trial", False)
211 return False
212
213 async def give_free_trial(self, user_id):
214 seconds = 720 * 60

Callers 2

plansFunction · 0.80
cb_handlerFunction · 0.80

Calls 1

get_userMethod · 0.95

Tested by

no test coverage detected