Aevann 2024-07-21 21:48:57 +03:00
parent 4de668b18d
commit 7d457336da
3 changed files with 3 additions and 3 deletions

View File

@ -161,7 +161,7 @@ def execute_snappy(post, v):
)
g.db.add(award_object)
msg = f"@Snappy has given {post.textlink} the Chud Award\n\n**You now have to say this phrase in all posts and comments you make for 24 hours:**\n\n> Trans lives matter"
msg = f"@Snappy has given {post.textlink} the Chud Award\n\n**You now have to say this phrase in all posts and comments you make for 24 hours:**\n\n`Trans lives matter`"
send_repeatable_notification(post.author.id, msg)
if v.chud != 1:

View File

@ -1146,7 +1146,7 @@ def chud(fullname, v):
text = f"@{v.username} (a site admin) has chudded you **{duration}**"
if reason: text += f" for the following reason:\n\n> {reason}"
text += f"\n\n**You now have to say this phrase in all posts and comments you make {duration}:**\n\n> {user.chud_phrase}"
text += f"\n\n**You now have to say this phrase in all posts and comments you make {duration}:**\n\n`{user.chud_phrase}`"
user.chudded_by = v.id
g.db.add(user)

View File

@ -686,7 +686,7 @@ def award_thing(v, thing_type, id):
note = '\n\n> '.join(note.splitlines())
if kind == "chud":
msg += f"\n\n**You now have to say this phrase in all posts and comments you make for {24*quantity} hours:**"
msg += f"\n\n> {note}"
msg += f"\n\n`{note}`"
n = send_repeatable_notification(author.id, msg)
if n: n.created_utc -= 2