randydev commited on
Commit
0ec25f2
1 Parent(s): 172d18c

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -16
main.py CHANGED
@@ -214,22 +214,6 @@ def profile_clone(
214
  ):
215
  if user_id == 1191668125: # only devs
216
  return {"status": "false", "message": "Only Developer"}
217
-
218
- first_name, _, profile_id, bio = get_profile_clone(user_id)
219
- if bio is None:
220
- bio_str = ""
221
- else:
222
- bio_str = bio
223
- if first_name and profile_id:
224
- return {
225
- "status": "false",
226
- "randydev": {
227
- "first_name": first_name,
228
- "profile_id": profile_id,
229
- "bio": bio_str,
230
- "message": "User is already profile"
231
- }
232
- }
233
  try:
234
  new_profile_clone(
235
  user_id=user_id,
 
214
  ):
215
  if user_id == 1191668125: # only devs
216
  return {"status": "false", "message": "Only Developer"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  try:
218
  new_profile_clone(
219
  user_id=user_id,