This commit is contained in:
Aevann1 2021-07-24 22:52:04 +02:00
parent b7aebfd05f
commit 8bfe098d2a

View file

@ -23,7 +23,7 @@ beams_client = PushNotifications(
@auth_required
def suicide(v, username):
t = int(time.time())
if t - v.suicide_utc < 86400: return "You can't do that again today!", 403
if t - v.suicide_utc < 86400: return "You can't do that again today!", 429
user = get_user(username)
suicide = f"""Hi there,