forked from MarseyWorld/MarseyWorld
master
parent
5336761cdb
commit
afd491799e
|
@ -23,7 +23,7 @@ beams_client = PushNotifications(
|
|||
@auth_required
|
||||
def suicide(v, username):
|
||||
t = int(time.time())
|
||||
if t - v.suicide_utc < 86400: abort(403)
|
||||
if t - v.suicide_utc < 86400: return "You can't do that again today!", 403
|
||||
user = get_user(username)
|
||||
suicide = f"""Hi there,
|
||||
|
||||
|
|
Loading…
Reference in New Issue