summaryrefslogtreecommitdiff
path: root/cupinder.py
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-06-19 18:12:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-06-19 18:12:21 (GMT)
commit1cefbd13c36fe125d11ef4a650880ce18f84d4b0 (patch)
treed29c99201d4732131dbc45403b14f34cb4e60626 /cupinder.py
parente14370ac867d8b2963706ccc7d209fe0b7ff3364 (diff)
Displayed the amount of time to wait for before being able to like.
Diffstat (limited to 'cupinder.py')
-rw-r--r--cupinder.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/cupinder.py b/cupinder.py
index e26c4f7..ade4f15 100644
--- a/cupinder.py
+++ b/cupinder.py
@@ -28,6 +28,13 @@ def connect():
print('[i] Remaining likes: %d' % tinder.get_remaining_likes())
+ wait = tinder.can_like_in()
+
+ if wait == 0:
+ print('[i] Time to like!')
+ else:
+ print('[i] We have to wait %d minute%s before liking...' % (wait, 's' if wait > 1 else ''))
+
return tinder