dffd
This commit is contained in:
parent
ff3a2d0640
commit
46177da4ef
2 changed files with 3 additions and 3 deletions
|
@ -5,14 +5,14 @@ from files.__main__ import Base
|
|||
AWARDS = {
|
||||
"ban": {
|
||||
"kind": "ban",
|
||||
"title": "1-Day Ban",
|
||||
"title": "One-Day Ban",
|
||||
"description": "Ban the author for a day.",
|
||||
"icon": "fas fa-gavel",
|
||||
"color": "text-danger"
|
||||
},
|
||||
"shit": {
|
||||
"kind": "shit",
|
||||
"title": "Literal Shitpost",
|
||||
"title": "Shitpost",
|
||||
"description": "Let OP know how much their post sucks ass. Flies will swarm their idiotic post. (flies only work on posts lol!!)",
|
||||
"icon": "fas fa-poop",
|
||||
"color": "text-black-50"
|
||||
|
|
|
@ -14,7 +14,7 @@ def banaward_trigger(post=None, comment=None):
|
|||
|
||||
if author.admin_level < 1:
|
||||
if not author.is_suspended:
|
||||
author.ban(reason="1-day ban award used", days=1)
|
||||
author.ban(reason="one-day ban award used", days=1)
|
||||
|
||||
send_notification(NOTIFICATIONS_ACCOUNT, author, f"Your account has been suspended for a day for {link}. It sucked and you should feel bad.")
|
||||
elif author.unban_utc > 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue