Spaces:
Paused
Paused
iamgojoof6eyes
commited on
Commit
·
5be98cf
1
Parent(s):
3a13e4a
Looks good
Browse files- Powers/plugins/info.py +5 -5
Powers/plugins/info.py
CHANGED
|
@@ -67,15 +67,15 @@ async def user_info(user, already=False):
|
|
| 67 |
if is_bot is True:
|
| 68 |
last_date = "Targeted user is a bot"
|
| 69 |
elif status == "recently":
|
| 70 |
-
last_date = "Recently"
|
| 71 |
elif status == "within_week":
|
| 72 |
-
last_date = "
|
| 73 |
elif status == "within_month":
|
| 74 |
-
last_date = "
|
| 75 |
elif status == "long_time_ago":
|
| 76 |
-
last_date = "
|
| 77 |
elif status == "online":
|
| 78 |
-
last_date = "
|
| 79 |
elif status == "offline":
|
| 80 |
last_date = datetime.fromtimestamp(user.status.date).strftime(
|
| 81 |
"%a, %d %b %Y, %H:%M:%S"
|
|
|
|
| 67 |
if is_bot is True:
|
| 68 |
last_date = "Targeted user is a bot"
|
| 69 |
elif status == "recently":
|
| 70 |
+
last_date = "Last seen Recently"
|
| 71 |
elif status == "within_week":
|
| 72 |
+
last_date = "Last seen within the last week"
|
| 73 |
elif status == "within_month":
|
| 74 |
+
last_date = "Last seen within the last month"
|
| 75 |
elif status == "long_time_ago":
|
| 76 |
+
last_date = "Last seen a long time ago or may be I am blocked by the user :("
|
| 77 |
elif status == "online":
|
| 78 |
+
last_date = "User is currently Online"
|
| 79 |
elif status == "offline":
|
| 80 |
last_date = datetime.fromtimestamp(user.status.date).strftime(
|
| 81 |
"%a, %d %b %Y, %H:%M:%S"
|