forked from rDrama/rDrama
1
0
Fork 0

fix christmas hat descriptions

master
Aevann 2022-12-23 04:11:47 +02:00
parent b82d29dfde
commit 478b176f5e
2 changed files with 7 additions and 3 deletions

View File

@ -282,6 +282,10 @@ class User(Base):
if not FEATURES['HATS']:
return ''
if HOLIDAY_EVENT:
from files.events.helpers.const import EVENT_FORCED_HATS
if EVENT_FORCED_HATS: return 'Merry Christmas!'
if self.is_cakeday:
return "I've spent another year rotting my brain with dramaposting, please ridicule me 🤓"

View File

@ -95,6 +95,6 @@ EVENT_AWARDS = {
"""
EVENT_FORCED_HATS = ['/i/hats/Santa Hat III.webp?h=1', \
'/i/hats/Winter Cap.webp?h=1', \
'/i/hats/Present Bow.webp?h=1']
EVENT_FORCED_HATS = ['/i/hats/Santa Hat III.webp', \
'/i/hats/Winter Cap.webp', \
'/i/hats/Present Bow.webp']