diff --git a/files/classes/user.py b/files/classes/user.py index 2f5745143..95dd992cd 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -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 🤓" diff --git a/files/events/helpers/const.py b/files/events/helpers/const.py index a81d548ea..889b99af2 100644 --- a/files/events/helpers/const.py +++ b/files/events/helpers/const.py @@ -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']