2022-12-19 01:20:14 +00:00
|
|
|
import random
|
|
|
|
from datetime import date
|
|
|
|
from .get import get_or_create_event_user
|
|
|
|
|
|
|
|
def user_event_darkmode(target, db):
|
|
|
|
user = get_or_create_event_user(target, db)
|
|
|
|
return user.event_darkmode
|
|
|
|
|
2022-11-30 21:10:20 +00:00
|
|
|
EVENT_JINJA_CONST = {
|
2022-12-19 01:20:14 +00:00
|
|
|
"EVENT_ICONS": True,
|
|
|
|
"EVENT_STYLES": "blizzard.css",
|
2022-11-30 21:10:20 +00:00
|
|
|
"EVENT_AWARDS": True,
|
2022-12-19 01:20:14 +00:00
|
|
|
"EVENT_VISITORS_HERE_FLAVOR": [
|
|
|
|
' santa enjoyers kissing under a misletoe',
|
|
|
|
' bringing up family drama at Christmas dinner',
|
2022-12-26 00:07:54 +00:00
|
|
|
' homoerotic dramanauts stroking their candy canes',
|
2022-12-19 01:20:14 +00:00
|
|
|
" dramanauts jingling each other's balls",
|
2022-12-26 00:07:54 +00:00
|
|
|
" Santa deniers getting reamed by Rudolph",
|
2022-12-19 01:20:14 +00:00
|
|
|
" naughty listers getting coal for fistmas",
|
|
|
|
" plus-sized dramanauts eating Santa's cookies",
|
|
|
|
" dramatards having their chimneys stuffed by Santa",
|
|
|
|
],
|
|
|
|
"random": random,
|
|
|
|
"user_event_darkmode": user_event_darkmode,
|
2022-11-30 21:10:20 +00:00
|
|
|
}
|