discord: remove

This commit is contained in:
justcool393 2022-11-21 10:39:27 -08:00 committed by GitHub
parent dc50d4f1cc
commit 23e64d176d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 32 additions and 247 deletions

View file

@ -1,6 +1,5 @@
from files.helpers.wrappers import *
from files.helpers.get import *
from files.helpers.discord import *
from files.__main__ import app, cache, limiter
from files.classes.submission import Submission
@ -214,7 +213,6 @@ def front_all(v, sub=None, subdomain=None):
v.patron = 0
v.patron_utc = 0
send_repeatable_notification(v.id, "Your paypig status has expired!")
if v.discord_id: remove_role(v, "1")
g.db.add(v)
g.db.commit()
if v.unban_utc and v.unban_utc < time.time():