Spaces:
Sleeping
Sleeping
Update botsignal.py
Browse files- botsignal.py +3 -3
botsignal.py
CHANGED
|
@@ -383,11 +383,11 @@ def _prune_expired(now: datetime) -> None:
|
|
| 383 |
db_prune_expired(cutoff)
|
| 384 |
|
| 385 |
def _classify_by_unique(unique_groups: int) -> Tuple[str, int]:
|
| 386 |
-
if unique_groups >=
|
| 387 |
return "FOMO π₯", unique_groups
|
| 388 |
-
elif unique_groups >=
|
| 389 |
return "Strong πͺ", unique_groups
|
| 390 |
-
elif unique_groups >=
|
| 391 |
return "Medium β‘", unique_groups
|
| 392 |
else:
|
| 393 |
return "Low π±", unique_groups
|
|
|
|
| 383 |
db_prune_expired(cutoff)
|
| 384 |
|
| 385 |
def _classify_by_unique(unique_groups: int) -> Tuple[str, int]:
|
| 386 |
+
if unique_groups >= 9:
|
| 387 |
return "FOMO π₯", unique_groups
|
| 388 |
+
elif unique_groups >= 6:
|
| 389 |
return "Strong πͺ", unique_groups
|
| 390 |
+
elif unique_groups >= 4:
|
| 391 |
return "Medium β‘", unique_groups
|
| 392 |
else:
|
| 393 |
return "Low π±", unique_groups
|