remotes/1693045480750635534/spooky-22
Aevann1 2021-08-22 19:35:32 +02:00
parent 4d13606613
commit 58ead3050a
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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: