forked from rDrama/rDrama
1
0
Fork 0

Revert "Make CARP_ID's flair uneditable by others."

This reverts commit c2266985b7.
master
Aevann1 2022-06-07 11:18:09 +02:00
parent 4aeb438c6b
commit d761fc27cd
1 changed files with 1 additions and 3 deletions

View File

@ -240,9 +240,7 @@ def award_thing(v, thing_type, id):
send_notification(author.id, f"@AutoJanny has given you the following profile badge:\n\n![]({badge.path})\n\n{badge.name}")
elif kind == "flairlock":
new_name = note[:100].replace("𒐪","")
if CARP_ID > 0 and author.id == CARP_ID:
send_repeatable_notification(v.id, "Carp's title is sacred and inviolable. You just wasted a flairlock!")
elif not new_name and author.flairchanged:
if not new_name and author.flairchanged:
author.flairchanged += 86400
else:
author.customtitleplain = new_name