forked from rDrama/rDrama
master
parent
c518bba4d1
commit
06e557c61d
|
@ -23,7 +23,7 @@ beams_client = PushNotifications(
|
||||||
@auth_required
|
@auth_required
|
||||||
def suicide(v, username):
|
def suicide(v, username):
|
||||||
t = int(time.time())
|
t = int(time.time())
|
||||||
if t - v.suicide_utc < 86400: return "", 429
|
if t - v.suicide_utc < 86400: return "", 204
|
||||||
user = get_user(username)
|
user = get_user(username)
|
||||||
suicide = f"""Hi there,
|
suicide = f"""Hi there,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue