This commit is contained in:
Aevann1 2021-07-24 22:53:21 +02:00
parent 6672957319
commit 9020185a1d

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 "", 429
if t - v.suicide_utc < 86400: return "", 204
user = get_user(username)
suicide = f"""Hi there,