Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
8e235e6
1
Parent(s):
9b9f5b9
...
Browse files
Powers/plugins/clean_db.py
CHANGED
|
@@ -60,9 +60,6 @@ async def clean_my_db(c:Gojo,is_cmd=False, id=None):
|
|
| 60 |
x = len(to_clean)
|
| 61 |
txt = f"#INFO\n\nCleaned db:\nTotal chats removed: {x}"
|
| 62 |
to_clean.clear()
|
| 63 |
-
|
| 64 |
-
txt += f"\nTotal users removed: {len(to_clean)}"
|
| 65 |
-
to_clean.clear()
|
| 66 |
if is_cmd:
|
| 67 |
txt += f"\nClean type: Forced\nInitiated by: {(await c.get_users(user_ids=id)).mention}"
|
| 68 |
txt += f"\nClean type: Auto\n\tTook {time.time()-start-60} seconds to complete the process"
|
|
|
|
| 60 |
x = len(to_clean)
|
| 61 |
txt = f"#INFO\n\nCleaned db:\nTotal chats removed: {x}"
|
| 62 |
to_clean.clear()
|
|
|
|
|
|
|
|
|
|
| 63 |
if is_cmd:
|
| 64 |
txt += f"\nClean type: Forced\nInitiated by: {(await c.get_users(user_ids=id)).mention}"
|
| 65 |
txt += f"\nClean type: Auto\n\tTook {time.time()-start-60} seconds to complete the process"
|