2022-06-18 15:37:01 +00:00
from copy import deepcopy
2022-11-15 09:19:08 +00:00
from os import environ , path
2022-06-18 15:37:01 +00:00
import tldextract
2022-10-08 00:43:04 +00:00
2022-11-15 09:19:08 +00:00
DEFAULT_CONFIG_VALUE = " blahblahblah "
SITE = environ . get ( " SITE " , " localhost " ) . strip ( )
SITE_NAME = environ . get ( " SITE_NAME " , " rdrama.net " ) . strip ( )
SECRET_KEY = environ . get ( " SECRET_KEY " , DEFAULT_CONFIG_VALUE ) . strip ( )
PROXY_URL = environ . get ( " PROXY_URL " , " http://localhost:18080 " ) . strip ( )
GIPHY_KEY = environ . get ( " GIPHY_KEY " , DEFAULT_CONFIG_VALUE ) . strip ( )
DISCORD_BOT_TOKEN = environ . get ( " DISCORD_BOT_TOKEN " , DEFAULT_CONFIG_VALUE ) . strip ( )
TURNSTILE_SITEKEY = environ . get ( " TURNSTILE_SITEKEY " , DEFAULT_CONFIG_VALUE ) . strip ( )
TURNSTILE_SECRET = environ . get ( " TURNSTILE_SECRET " , DEFAULT_CONFIG_VALUE ) . strip ( )
YOUTUBE_KEY = environ . get ( " YOUTUBE_KEY " , DEFAULT_CONFIG_VALUE ) . strip ( )
PUSHER_ID = environ . get ( " PUSHER_ID " , DEFAULT_CONFIG_VALUE ) . strip ( )
PUSHER_KEY = environ . get ( " PUSHER_KEY " , DEFAULT_CONFIG_VALUE ) . strip ( )
IMGUR_KEY = environ . get ( " IMGUR_KEY " , DEFAULT_CONFIG_VALUE ) . strip ( )
SPAM_SIMILARITY_THRESHOLD = float ( environ . get ( " SPAM_SIMILARITY_THRESHOLD " , " 0.5 " ) . strip ( ) )
SPAM_URL_SIMILARITY_THRESHOLD = float ( environ . get ( " SPAM_URL_SIMILARITY_THRESHOLD " , " 0.1 " ) . strip ( ) )
SPAM_SIMILAR_COUNT_THRESHOLD = int ( environ . get ( " SPAM_SIMILAR_COUNT_THRESHOLD " , " 10 " ) . strip ( ) )
COMMENT_SPAM_SIMILAR_THRESHOLD = float ( environ . get ( " COMMENT_SPAM_SIMILAR_THRESHOLD " , " 0.5 " ) . strip ( ) )
COMMENT_SPAM_COUNT_THRESHOLD = int ( environ . get ( " COMMENT_SPAM_COUNT_THRESHOLD " , " 10 " ) . strip ( ) )
DEFAULT_TIME_FILTER = environ . get ( " DEFAULT_TIME_FILTER " , " all " ) . strip ( )
GUMROAD_TOKEN = environ . get ( " GUMROAD_TOKEN " , DEFAULT_CONFIG_VALUE ) . strip ( )
GUMROAD_LINK = environ . get ( " GUMROAD_LINK " , DEFAULT_CONFIG_VALUE ) . strip ( )
GUMROAD_ID = environ . get ( " GUMROAD_ID " , DEFAULT_CONFIG_VALUE ) . strip ( )
DISABLE_DOWNVOTES = bool ( int ( environ . get ( " DISABLE_DOWNVOTES " , " 0 " ) . strip ( ) ) )
DUES = int ( environ . get ( " DUES " , " 0 " ) . strip ( ) )
DEFAULT_THEME = environ . get ( " DEFAULT_THEME " , " midnight " ) . strip ( )
DEFAULT_COLOR = environ . get ( " DEFAULT_COLOR " , " 805ad5 " ) . strip ( )
CARD_VIEW = bool ( int ( environ . get ( " CARD_VIEW " , " 0 " ) . strip ( ) ) )
EMAIL = environ . get ( " EMAIL " , " blahblahblah@gmail.com " ) . strip ( )
MAILGUN_KEY = environ . get ( " MAILGUN_KEY " , DEFAULT_CONFIG_VALUE ) . strip ( )
DESCRIPTION = environ . get ( " DESCRIPTION " , " rdrama.net caters to drama in all forms such as: Real life, videos, photos, gossip, rumors, news sites, Reddit, and Beyond™. There isn ' t drama we won ' t touch, and we want it all! " ) . strip ( )
CF_KEY = environ . get ( " CF_KEY " , DEFAULT_CONFIG_VALUE ) . strip ( )
CF_ZONE = environ . get ( " CF_ZONE " , DEFAULT_CONFIG_VALUE ) . strip ( )
TELEGRAM_LINK = environ . get ( " TELEGRAM_LINK " , DEFAULT_CONFIG_VALUE ) . strip ( )
2022-10-08 00:43:04 +00:00
GLOBAL = environ . get ( " GLOBAL " , " " ) . strip ( )
blackjack = environ . get ( " BLACKJACK " , " " ) . strip ( )
FP = environ . get ( " FP " , " " ) . strip ( )
KOFI_TOKEN = environ . get ( " KOFI_TOKEN " , " " ) . strip ( )
KOFI_LINK = environ . get ( " KOFI_LINK " , " " ) . strip ( )
2022-10-21 18:39:45 +00:00
PUSHER_ID_CSP = " "
2022-11-15 09:19:08 +00:00
if PUSHER_ID != DEFAULT_CONFIG_VALUE :
2022-10-21 18:39:45 +00:00
PUSHER_ID_CSP = f " { PUSHER_ID } .pushnotifications.pusher.com "
2022-11-11 18:34:06 +00:00
CONTENT_SECURITY_POLICY_DEFAULT = " script-src ' self ' ' unsafe-inline ' challenges.cloudflare.com; connect-src ' self ' ; object-src ' none ' ; "
2022-10-29 21:28:33 +00:00
CONTENT_SECURITY_POLICY_HOME = f " script-src ' self ' ' unsafe-inline ' ' unsafe-eval ' ; connect-src ' self ' tls-use1.fpapi.io api.fpjs.io { PUSHER_ID_CSP } ; object-src ' none ' ; "
2022-10-08 00:43:04 +00:00
2022-11-15 09:19:08 +00:00
CLOUDFLARE_COOKIE_VALUE = " yes. " # remember to change this in CloudFlare too
SETTINGS_FILENAME = ' /site_settings.json '
2022-11-09 05:35:24 +00:00
2022-11-13 06:43:35 +00:00
DEFAULT_RATELIMIT = " 3/second;30/minute;200/hour;1000/day "
DEFAULT_RATELIMIT_SLOWER = " 1/second;30/minute;200/hour;1000/day "
DEFAULT_RATELIMIT_USER = DEFAULT_RATELIMIT_SLOWER
2022-11-13 11:11:55 +00:00
PUSHER_LIMIT = 1000 # API allows 10 KB but better safe than sorry
2022-06-18 15:37:01 +00:00
if SITE == " localhost " : SITE_FULL = ' http:// ' + SITE
else : SITE_FULL = ' https:// ' + SITE
2022-10-18 01:55:07 +00:00
if SITE_NAME == ' PCM ' : CC = " SPLASH MOUNTAIN "
2022-06-18 15:37:01 +00:00
else : CC = " COUNTRY CLUB "
CC_TITLE = CC . title ( )
2022-11-15 09:19:08 +00:00
CASINO_RELEASE_DAY = 1662825600
2022-08-14 12:59:56 +00:00
if SITE_NAME == ' rDrama ' : patron = ' Paypig '
else : patron = ' Patron '
2022-06-18 15:37:01 +00:00
AJ_REPLACEMENTS = {
' your ' : " you ' re " ,
' to ' : " too " ,
' Your ' : " You ' re " ,
' To ' : " Too " ,
' YOUR ' : " YOU ' RE " ,
' TO ' : " TOO " ,
' everyone ' : ' everypony ' ,
' everybody ' : ' everypony ' ,
' Everyone ' : ' Everypony ' ,
' Everybody ' : ' Everypony ' ,
' EVERYONE ' : ' EVERYPONY ' ,
' EVERYBODY ' : ' EVERYPONY ' ,
}
2022-09-02 17:42:06 +00:00
SLURS = {
" nigger " : " BIPOC " ,
2022-11-07 06:08:17 +00:00
" niglet " : ' BIPOClet ' ,
2022-09-29 09:38:37 +00:00
" negress " : " BIPOC woman " ,
2022-11-04 00:28:05 +00:00
' nigga ' : ' neighbor ' ,
2022-09-02 17:42:06 +00:00
" faggot " : " cute twink " ,
" fag " : " strag " ,
" spic " : " hard-working American " ,
2022-11-07 07:11:46 +00:00
" spics " : " hard-working Americans " ,
2022-09-14 11:19:47 +00:00
" trannie " : ' <img loading= " lazy " data-bs-toggle= " tooltip " alt= " :marseytrain: " title= " :marseytrain: " src= " /e/marseytrain.webp " > ' ,
" tranny " : ' <img loading= " lazy " data-bs-toggle= " tooltip " alt= " :marseytrain: " title= " :marseytrain: " src= " /e/marseytrain.webp " > ' ,
" troon " : ' <img loading= " lazy " data-bs-toggle= " tooltip " alt= " :marseytrain: " title= " :marseytrain: " src= " /e/marseytrain.webp " > ' ,
2022-09-02 17:42:06 +00:00
" kike " : " jewish chad " ,
" daisy ' s destruction " : " Cars 2 " ,
" daisys destruction " : " Cars 2 " ,
" daisy destruction " : " Cars 2 " ,
}
2022-06-18 15:37:01 +00:00
if SITE_NAME == ' rDrama ' :
2022-09-02 17:42:06 +00:00
RDRAMA_SLURS = {
2022-06-18 15:37:01 +00:00
" retarded " : " r-slurred " ,
" retard " : " r-slur " ,
" pedophile " : " libertarian " ,
2022-11-12 09:39:05 +00:00
" kill youself " : " keep yourself safe " ,
2022-06-18 15:37:01 +00:00
" kill yourself " : " keep yourself safe " ,
2022-11-02 19:33:31 +00:00
" kill yourselves " : " keep yourselves safe " ,
2022-11-03 23:57:35 +00:00
" steve akins " : " Dr. Penelope Verity Oaken " ,
" steve joel akins " : " Dr. Penelope Verity Oaken " ,
" steven joel akins " : " Dr. Penelope Verity Oaken " ,
2022-06-18 15:37:01 +00:00
" latinos " : " latinx " ,
" latino " : " latinx " ,
" latinas " : " latinx " ,
" latina " : " latinx " ,
" hispanics " : " latinx " ,
" hispanic " : " latinx " ,
" i hate marsey " : " i love marsey " ,
" sodomite " : " total dreamboat " ,
" pajeet " : " sexy Indian dude " ,
" renter " : " rentoid " ,
" autistic " : " neurodivergent " ,
" i hate carp " : " i love Carp " ,
2022-10-17 17:18:51 +00:00
" gamer " : " g*mer " ,
" journalist " : " journ*list " ,
" journalism " : " journ*lism " ,
2022-06-18 15:37:01 +00:00
" elon musk " : " rocket daddy " ,
" fake and gay " : " fake and straight " ,
" rapist " : " male feminist " ,
2022-10-04 20:12:18 +00:00
" pedo " : " libertarian " ,
2022-10-01 09:56:31 +00:00
" kys " : " keep yourself safe " ,
" kys " : " keep yourself safe " ,
2022-11-07 05:35:18 +00:00
" republican " : ' republiKKKan ' ,
2022-11-08 04:26:35 +00:00
" america " : ' ameriKKKa ' ,
2022-06-18 15:37:01 +00:00
}
2022-09-02 17:42:06 +00:00
SLURS . update ( RDRAMA_SLURS )
2022-06-18 15:37:01 +00:00
2022-11-07 07:11:46 +00:00
PROFANITIES = {
' motherfucker ' : ' motherlover ' ,
2022-11-19 12:49:10 +00:00
' fuck ' : ' frick ' ,
' ass ' : ' butt ' ,
2022-11-07 07:11:46 +00:00
' shitting ' : ' pooping ' ,
' lmao ' : ' lmbo ' ,
' damn ' : ' darn ' ,
' bastard ' : ' fatherless child ' ,
' bitch ' : ' b-word ' ,
' toilet ' : ' potty ' ,
' asshole ' : ' butthole ' ,
' rape ' : ' r*pe ' ,
' hell ' : ' heck ' ,
' sex ' : ' intercourse ' ,
' cum ' : ' c*m ' ,
' orgasm ' : ' sexual climax ' ,
' dick ' : ' peepee ' ,
2022-11-11 09:41:07 +00:00
' cock ' : ' peepee ' ,
' cocks ' : ' peepees ' ,
2022-11-07 07:11:46 +00:00
' penis ' : ' peepee ' ,
' pussy ' : ' girl peepee ' ,
' vagina ' : ' girl peepee ' ,
' twat ' : ' girl peepee ' ,
}
2022-11-03 22:59:18 +00:00
slur_single_words = " | " . join ( [ slur . lower ( ) for slur in SLURS . keys ( ) ] )
profanity_single_words = " | " . join ( [ profanity . lower ( ) for profanity in PROFANITIES . keys ( ) ] )
2022-06-18 15:37:01 +00:00
2022-08-17 06:24:51 +00:00
LONGPOST_REPLIES = ( ' Wow, you must be a JP fan. ' , ' This is one of the worst posts I have EVER seen. Delete it. ' , " No, don ' t reply like this, please do another wall of unhinged rant please. " , ' <h1>😴😴😴</h1> ' , " Ma ' am we ' ve been over this before. You need to stop. " , " I ' ve known more coherent downies. " , " Your pulitzer ' s in the mail " , " That ' s great and all, but I asked for my burger without cheese. " , ' That degree finally paying off ' , " That ' s nice sweaty. Why don ' t you have a seat in the time out corner with Pizzashill until you calm down, then you can have your Capri Sun. " , " All them words won ' t bring your pa back. " , " You had a chance to not be completely worthless, but it looks like you threw it away. At least you ' re consistent. " , ' Some people are able to display their intelligence by going on at length on a subject and never actually saying anything. This ability is most common in trades such as politics, public relations, and law. You have impressed me by being able to best them all, while still coming off as an absolute idiot. ' , " You can type 10,000 characters and you decided that these were the one ' s that you wanted. " , ' Have you owned the libs yet? ' , " I don ' t know what you said, because I ' ve seen another human naked. " , ' Impressive. Normally people with such severe developmental disabilities struggle to write much more than a sentence or two. He really has exceded our expectations for the writing portion. Sadly the coherency of his writing, along with his abilities in the social skills and reading portions, are far behind his peers with similar disabilities. ' , " This is a really long way of saying you don ' t fuck. " , " Sorry ma ' am, looks like his delusions have gotten worse. We ' ll have to admit him. " , ' If only you could put that energy into your relationships ' , ' Posts like this is why I do Heroine. ' , ' still unemployed then? ' , ' K ' , ' look im gunna have 2 ask u 2 keep ur giant dumps in the toilet not in my replys 😷😷😷 ' , " Mommy is soooo proud of you, sweaty. Let ' s put this sperg out up on the fridge with all your other failures. " , " Good job bobby, here ' s a star " , " That was a mistake. You ' re about to find out the hard way why. " , f ' You sat down and wrote all this shit. You could have done so many other things with your life. What happened to your life that made you decide writing novels of bullshit here was the best option? ' , " I don ' t have enough spoons to read this shit " , " All those words won ' t bring daddy back. " , ' OUT! ' , " Damn, you ' re really mad over this, but thanks for the effort you put into typing that all out! Sadly I won ' t read it all. " , " Jesse what the fuck are you talking about?? " , " ▼you ' re fucking bananas if you think I ' m reading all that, take my downvote and shut up idiot " , " Are you feeling okay bud? " , ' <img loading= " lazy " data-bs-toggle= " tooltip " alt= " :#marseywoah: " src= " /e/marseywoah.webp " b title= " :#marseywoah: " > ' , ' At no point in your rambling, incoherent post were you even close to anything that could be considered a rational thought. Everyone on this site is now dumber for having read it. May God have mercy on your soul. ' )
2022-06-18 15:37:01 +00:00
2022-07-10 14:37:05 +00:00
2022-08-11 16:46:11 +00:00
AGENDAPOSTER_PHRASE = ' trans lives matter '
2022-07-10 14:37:05 +00:00
2022-06-18 15:37:01 +00:00
2022-08-30 21:16:58 +00:00
AGENDAPOSTER_MSG = """ Hi @ {username} , \n Your {type} has been automatically removed because you forgot to include ` {AGENDAPOSTER_PHRASE} `. \n Don ' t worry, we ' re here to help! We won ' t let you post or comment anything that doesn ' t express your love and acceptance towards the trans community. Feel free to resubmit your {type} with ` {AGENDAPOSTER_PHRASE} ` included. \n *This is an automated message; if you need help, you can message us [here](/contact).* """
2022-06-18 15:37:01 +00:00
AGENDAPOSTER_MSG_HTML = """ <p>Hi <a href= " /id/ {id} " ><img loading= " lazy " src= " /pp/ {id} " >@ {username} </a>,</p>
< p > Your comment has been automatically removed because you forgot to include < code > { AGENDAPOSTER_PHRASE } < / code > . < / p >
< p > Don ' t worry, we ' re here to help ! We won ' t let you post or comment anything that doesn ' t express your love and acceptance towards the trans community . Feel free to resubmit your { type } with < code > { AGENDAPOSTER_PHRASE } < / code > included . < / p >
< p > < em > This is an automated message ; if you need help , you can message us < a href = " /contact " > here < / a > . < / em > < / p > """
2022-10-30 00:43:55 +00:00
DISCORD_CHANGELOG_CHANNEL_ID = 1034632681788538980
2022-10-14 18:46:39 +00:00
WPD_CHANNEL_ID = 1013990963846332456
2022-10-25 22:48:10 +00:00
PIN_AWARD_TEXT = " (pin award) "
2022-06-18 15:37:01 +00:00
2022-11-06 09:44:58 +00:00
THEMES = [ " 4chan " , " classic " , " classic_dark " , " coffee " , " dark " , " dramblr " , " light " , " midnight " , " transparent " , " tron " , " win98 " ]
2022-11-06 09:48:06 +00:00
COMMENT_SORTS = [ " hot " , " new " , " old " , " top " , " bottom " , " controversial " ]
SORTS = COMMENT_SORTS + [ " bump " , " comments " ]
2022-11-06 09:44:58 +00:00
TIME_FILTERS = [ " hour " , " day " , " week " , " month " , " year " , " all " ]
2022-11-06 12:04:00 +00:00
PAGE_SIZES = { 10 , 25 , 50 , 100 }
2022-11-06 09:44:58 +00:00
2022-06-18 15:37:01 +00:00
################################################################################
### SITE SPECIFIC CONSTANTS
################################################################################
2022-07-07 03:45:33 +00:00
PERMS = { # Minimum admin_level to perform action.
2022-10-28 22:14:59 +00:00
' ADMIN_ADD ' : 3 ,
2022-10-06 07:55:54 +00:00
' ADMIN_REMOVE ' : 3 ,
' ADMIN_ADD_PERM_LEVEL ' : 2 , # permission level given when user added via site
' ADMIN_ACTIONS_REVERT ' : 3 ,
' ADMIN_MOP_VISIBLE ' : 2 ,
' ADMIN_HOME_VISIBLE ' : 2 ,
2022-11-16 13:00:03 +00:00
' CHAT_BYPASS_MUTE ' : 2 ,
2022-10-06 07:55:54 +00:00
' DOMAINS_BAN ' : 3 ,
2022-07-07 03:45:33 +00:00
' HOLE_CREATE ' : 0 ,
' FLAGS_REMOVE ' : 2 ,
2022-07-18 06:43:20 +00:00
' VOTES_VISIBLE ' : 0 ,
2022-07-18 07:17:45 +00:00
' USER_BLOCKS_VISIBLE ' : 0 ,
' USER_FOLLOWS_VISIBLE ' : 0 ,
' USER_VOTERS_VISIBLE ' : 0 ,
2022-10-12 09:36:29 +00:00
' POST_COMMENT_INFINITE_PINGS ' : 1 ,
2022-10-06 00:57:08 +00:00
' POST_COMMENT_MODERATION ' : 2 ,
2022-10-06 04:19:11 +00:00
' POST_COMMENT_DISTINGUISH ' : 1 ,
2022-10-06 09:37:41 +00:00
' POST_COMMENT_MODERATION_TOOLS_VISIBLE ' : 2 , # note: does not affect API at all
2022-10-20 22:51:29 +00:00
' POST_BYPASS_REPOST_CHECKING ' : 1 ,
2022-10-06 01:24:37 +00:00
' POST_EDITING ' : 3 ,
2022-10-06 03:50:02 +00:00
' USER_BADGES ' : 2 ,
2022-10-06 01:58:43 +00:00
' USER_BAN ' : 2 ,
2022-10-06 02:24:37 +00:00
' USER_SHADOWBAN ' : 2 ,
2022-10-06 03:04:38 +00:00
' USER_AGENDAPOSTER ' : 2 ,
2022-10-06 03:47:42 +00:00
' USER_CLUB_ALLOW_BAN ' : 2 ,
2022-10-06 05:37:50 +00:00
' USER_LINK ' : 2 ,
2022-10-06 07:55:54 +00:00
' USER_MERGE ' : 3 , # note: extra check for Aevann
2022-10-06 05:45:44 +00:00
' USER_TITLE_CHANGE ' : 2 ,
2022-10-06 09:37:41 +00:00
' USER_MODERATION_TOOLS_VISIBLE ' : 2 , # note: does not affect API at all
2022-11-14 17:17:29 +00:00
' POST_IN_GHOST_THREADS ' : 1 ,
2022-10-06 09:09:46 +00:00
' POST_TO_CHANGELOG ' : 1 , # note: code contributors can also post to changelog
2022-10-06 04:45:54 +00:00
' POST_TO_POLL_THREAD ' : 2 ,
' POST_BETS ' : 3 ,
2022-10-06 05:59:27 +00:00
' POST_BETS_DISTRIBUTE ' : 3 , # probably should be the same as POST_BETS but w/e
2022-10-06 02:55:54 +00:00
' VIEW_PENDING_SUBMITTED_MARSEYS ' : 3 ,
' VIEW_PENDING_SUBMITTED_HATS ' : 3 ,
2022-10-06 03:15:10 +00:00
' MODERATE_PENDING_SUBMITTED_MARSEYS ' : 3 , # note: there is an extra check so that only """carp""" can approve them
' MODERATE_PENDING_SUBMITTED_HATS ' : 3 , # note: there is an extra check so that only """carp""" can approve them
' UPDATE_MARSEYS ' : 3 , # note: extra check is here for 4 different users
' UPDATE_HATS ' : 3 , # note: extra check is here for 4 different users
2022-10-06 02:57:31 +00:00
' BUY_GHOST_AWARD ' : 2 ,
2022-10-06 03:09:20 +00:00
' LOTTERY_ADMIN ' : 3 ,
' LOTTERY_VIEW_PARTICIPANTS ' : 2 ,
2022-10-06 03:10:57 +00:00
' VIEW_MODMAIL ' : 2 ,
2022-10-06 04:52:15 +00:00
' VIEW_CLUB ' : 1 ,
' VIEW_CHUDRAMA ' : 1 ,
2022-10-06 04:59:06 +00:00
' VIEW_PRIVATE_PROFILES ' : 2 ,
2022-10-06 05:01:02 +00:00
' VIEW_ALTS ' : 2 ,
2022-10-06 05:07:38 +00:00
' VIEW_PROFILE_VIEWS ' : 2 ,
2022-10-06 05:16:09 +00:00
' VIEW_SORTED_ADMIN_LIST ' : 3 ,
2022-10-06 03:29:14 +00:00
' VIEW_ACTIVE_USERS ' : 2 ,
2022-10-06 05:37:50 +00:00
' VIEW_ALL_USERS ' : 2 ,
' VIEW_ALT_VOTES ' : 2 ,
2022-10-06 06:02:27 +00:00
' VIEW_LAST_ACTIVE ' : 2 ,
2022-10-06 05:48:55 +00:00
' VIEW_PATRONS ' : 3 , # note: extra check for Aevann, carp, or snakes
2022-10-06 08:14:32 +00:00
' VIEW_VOTE_BUTTONS_ON_USER_PAGE ' : 2 ,
2022-10-06 05:50:42 +00:00
' PRINT_MARSEYBUX_FOR_KIPPY_ON_PCMEMES ' : 3 , # note: explicitly disabled on rDrama
2022-10-11 07:54:02 +00:00
' SITE_BYPASS_READ_ONLY_MODE ' : 1 ,
2022-10-06 04:26:15 +00:00
' SITE_SETTINGS ' : 3 ,
2022-10-06 04:45:54 +00:00
' SITE_SETTINGS_SIDEBARS_BANNERS_BADGES ' : 3 ,
' SITE_SETTINGS_SNAPPY_QUOTES ' : 3 ,
2022-10-06 04:26:15 +00:00
' SITE_SETTINGS_UNDER_ATTACK ' : 3 ,
2022-10-06 06:21:04 +00:00
' SITE_CACHE_PURGE_CDN ' : 3 ,
' SITE_CACHE_DUMP_INTERNAL ' : 2 ,
2022-10-26 18:31:17 +00:00
' SITE_WARN_ON_INVALID_AUTH ' : 1 ,
2022-10-23 00:45:15 +00:00
' NOTIFICATIONS_ADMIN_PING ' : 2 ,
2022-10-06 04:40:02 +00:00
' NOTIFICATIONS_HOLE_INACTIVITY_DELETION ' : 2 ,
2022-10-06 05:07:38 +00:00
' NOTIFICATIONS_HOLE_CREATION ' : 2 ,
2022-10-06 04:40:02 +00:00
' NOTIFICATIONS_FROM_SHADOWBANNED_USERS ' : 3 ,
2022-10-06 05:07:38 +00:00
' NOTIFICATIONS_MODMAIL ' : 3 ,
2022-10-07 08:50:20 +00:00
' NOTIFICATIONS_MODERATOR_ACTIONS ' : 2 ,
' NOTIFICATIONS_REDDIT ' : 1 ,
2022-10-06 07:38:33 +00:00
' NOTIFICATIONS_SPECIFIC_WPD_COMMENTS ' : 1 ,
2022-10-06 05:16:09 +00:00
' MESSAGE_BLOCKED_USERS ' : 1 ,
2022-10-06 07:40:36 +00:00
' APPS_MODERATION ' : 3 ,
2022-10-06 06:22:42 +00:00
' STREAMERS_MODERATION ' : 2 ,
2022-07-07 03:45:33 +00:00
}
2022-07-18 05:10:01 +00:00
FEATURES = {
' PROCOINS ' : True ,
2022-07-19 23:59:39 +00:00
' AWARDS ' : True ,
2022-07-18 06:43:20 +00:00
' CHAT ' : True ,
2022-07-18 05:10:01 +00:00
' PINS ' : True ,
2022-07-20 01:50:08 +00:00
' COUNTRY_CLUB ' : True ,
2022-07-18 06:43:20 +00:00
' PRONOUNS ' : False ,
2022-07-19 23:59:39 +00:00
' BADGES ' : True ,
2022-09-03 03:11:17 +00:00
' HATS ' : True ,
2022-07-18 06:43:20 +00:00
' HOUSES ' : False ,
2022-07-18 07:47:17 +00:00
' GAMBLING ' : True ,
2022-07-23 06:22:45 +00:00
' WORDLE ' : True ,
2022-07-20 01:16:59 +00:00
' USERS_PROFILE_BANNER ' : True ,
' USERS_PROFILE_BODYTEXT ' : True ,
' USERS_PROFILE_SONG ' : True ,
2022-11-06 10:27:44 +00:00
' USERS_PERMANENT_WORD_FILTERS ' : False ,
2022-07-20 01:16:59 +00:00
' USERS_SUICIDE ' : True ,
2022-07-20 00:07:38 +00:00
' MARKUP_COMMANDS ' : True ,
2022-08-04 04:07:17 +00:00
' REPOST_DETECTION ' : True ,
2022-08-25 20:34:05 +00:00
' PATRON_ICONS ' : False ,
2022-11-15 09:19:08 +00:00
' ASSET_SUBMISSIONS ' : False ,
' STREAMERS ' : False ,
2022-07-18 05:10:01 +00:00
}
2022-10-11 15:26:20 +00:00
WERKZEUG_ERROR_DESCRIPTIONS = {
400 : " The browser (or proxy) sent a request that this server could not understand. " ,
401 : " The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn ' t understand how to supply the credentials required. " ,
403 : " You don ' t have the permission to access the requested resource. It is either read-protected or not readable by the server. " ,
404 : " The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. " ,
405 : " The method is not allowed for the requested URL. " ,
406 : " The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request. " ,
409 : " A conflict happened while processing the request. The resource might have been modified while the request was being processed. " ,
2022-11-16 05:32:57 +00:00
410 : " The requested URL is no longer available on this server and there is no forwarding address. If you followed a link from a foreign page, please contact the author of this page. " ,
2022-10-11 15:26:20 +00:00
413 : " The data value transmitted exceeds the capacity limit. " ,
414 : " The length of the requested URL exceeds the capacity limit for this server. The request cannot be processed. " ,
415 : " The server does not support the media type transmitted in the request. " ,
417 : " The server could not meet the requirements of the Expect header " ,
418 : " This server is a teapot, not a coffee machine " ,
429 : " This user has exceeded an allotted request count. Try again later. " ,
500 : " The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. " ,
}
ERROR_TITLES = {
2022-11-05 23:13:59 +00:00
400 : " Naughty Request " ,
401 : " 🚫 Unauthorized 🚫 " ,
403 : " Forbidden🙅 ♀️ " ,
404 : " Not Found - where did it go? " ,
405 : " Method Not Allowed, BAD. " ,
406 : " Too Many Pings fuck off " ,
409 : " Cumflict " ,
2022-11-16 05:32:57 +00:00
410 : " Gone... and Forgotten " ,
2022-11-05 23:13:59 +00:00
413 : " Gayload Too Large " ,
415 : " Weird Media Type " ,
2022-10-12 09:00:18 +00:00
418 : " I ' m a teapot " ,
2022-10-11 15:26:20 +00:00
429 : " Too Many Requests " ,
2022-11-05 23:13:59 +00:00
500 : " Balls-Deep Server Error " ,
2022-10-11 15:26:20 +00:00
}
ERROR_MSGS = {
400 : " That request was bad and you should feel bad. " ,
2022-11-05 23:13:59 +00:00
401 : " What you ' re trying to do requires an account. I think. The original error message said something about a castle and I hated that. If you see this error and you ' re logged into an account, something went pretty wrong somewhere. " ,
2022-10-11 15:26:20 +00:00
403 : " YOU AREN ' T WELCOME HERE GO AWAY " ,
404 : " Someone typed something wrong and it was probably you, please do better. " ,
2022-10-29 02:07:43 +00:00
405 : " idk how anyone gets this error but if you see this, remember to follow @carpathianflorist<br>the original error text here talked about internet gremlins and wtf " ,
2022-11-05 23:13:59 +00:00
406 : " Max limit is 5 for comments and 50 for posts (what is it referring to? what does it mean? no one knows) " ,
2022-10-11 15:26:20 +00:00
409 : " There ' s a conflict between what you ' re trying to do and what you or someone else has done and because of that you can ' t do what you ' re trying to do. So maybe like... don ' t try and do that? Sorry not sorry " ,
2022-11-16 05:32:57 +00:00
410 : " You were too slow. The link FUCKING DIED. Request a new one and be more efficient. " ,
2022-11-05 23:13:59 +00:00
413 : " That ' s a heckin ' chonker of a file! Please make it smaller or maybe like upload it somewhere else idk<BR>jc wrote this one hi jc!<br>- carp " ,
2022-10-11 15:26:20 +00:00
415 : " Please upload only Image, Video, or Audio files! " ,
2022-10-12 09:00:18 +00:00
418 : " this really shouldn ' t happen now that we autoconvert webm files but if it does there ' s a cool teapot marsey so there ' s that " ,
2022-10-11 15:26:20 +00:00
429 : " go spam somewhere else nerd " ,
2022-11-05 23:13:59 +00:00
500 : " Hiiiii it ' s carp! I think this error means that there ' s a timeout error. And I think that means something took too long to load so it decided not to work at all. If you keep seeing this on the same page <I>but not other pages</I>, then something is probably wrong with that specific function. It may not be called a function, but that sounds right to me. Anyway, <s>ping me and I ' ll whine to someone smarter to fix it. Don ' t bother them.</s> <B>After a year and a half of infuriating pings, the new instructions are to quit whining and just wait until it works again oh my god shut UP.</B><BR><BR> Thanks ily <3 " ,
2022-10-11 15:26:20 +00:00
}
ERROR_MARSEYS = {
400 : " marseybrainlet " ,
401 : " marseydead " ,
403 : " marseytroll " ,
404 : " marseyconfused " ,
405 : " marseyretard " ,
406 : " marseyrage " ,
409 : " marseynoyou " ,
2022-11-16 05:32:57 +00:00
410 : " marseyrave " ,
2022-10-12 08:52:08 +00:00
413 : " marseychonker2 " ,
2022-10-11 15:26:20 +00:00
415 : " marseydetective " ,
418 : " marseytea " ,
429 : " marseyrentfree " ,
500 : " marseycarp3 " ,
}
2022-07-09 04:32:48 +00:00
EMOJI_MARSEYS = True
EMOJI_SRCS = [ ' files/assets/emojis.json ' ]
2022-06-18 15:37:01 +00:00
PIN_LIMIT = 3
2022-10-18 11:51:08 +00:00
POST_RATE_LIMIT = ' 1/second;10/hour;50/day '
2022-10-05 08:35:35 +00:00
POST_TITLE_LENGTH_LIMIT = 500 # do not make larger than 500 without altering the table
POST_TITLE_HTML_LENGTH_LIMIT = 1500 # do not make larger than 1500 without altering the table
POST_BODY_LENGTH_LIMIT = 20000 # do not make larger than 20000 without altering the table
POST_BODY_HTML_LENGTH_LIMIT = 40000 # do not make larger than 40000 without altering the table
2022-10-09 07:20:28 +00:00
COMMENT_BODY_LENGTH_LIMIT = 10000 # do not make larger than 10000 characters without altering the table
2022-10-09 12:54:46 +00:00
COMMENT_BODY_HTML_LENGTH_LIMIT = 20000 # do not make larger than 20000 characters without altering the table
COMMENT_MAX_DEPTH = 200
2022-10-09 07:20:28 +00:00
TRANSFER_MESSAGE_LENGTH_LIMIT = 200 # do not make larger than 10000 characters (comment limit) without altering the table
2022-10-14 10:26:48 +00:00
MIN_REPOST_CHECK_URL_LENGTH = 9 # also change the constant in checkRepost() of submit.js
2022-11-16 14:00:04 +00:00
CHAT_LENGTH_LIMIT = 1000
2022-10-30 14:18:42 +00:00
TRUESCORE_DONATE_LIMIT = 100
2022-11-05 02:16:08 +00:00
COSMETIC_AWARD_COIN_AWARD_PCT = 0.10
2022-11-13 11:43:08 +00:00
TRUESCORE_CHAT_LIMIT = 0
2022-11-14 17:17:29 +00:00
TRUESCORE_GHOST_LIMIT = 0
2022-10-05 08:35:35 +00:00
2022-06-20 20:25:03 +00:00
LOGGEDIN_ACTIVE_TIME = 15 * 60
2022-07-09 12:01:44 +00:00
PFP_DEFAULT_MARSEY = True
2022-10-05 23:29:30 +00:00
NOTIFICATION_SPAM_AGE_THRESHOLD = 0.5 * 86400
2022-10-12 05:11:20 +00:00
COMMENT_SPAM_LENGTH_THRESHOLD = 50
2022-07-09 10:09:33 +00:00
HOLE_NAME = ' hole '
HOLE_STYLE_FLAIR = False
HOLE_REQUIRED = False
HOLE_COST = 0
HOLE_INACTIVITY_DELETION = False
2022-06-18 15:37:01 +00:00
2022-07-08 19:03:04 +00:00
AUTOJANNY_ID = 1
SNAPPY_ID = 2
LONGPOSTBOT_ID = 3
ZOZBOT_ID = 4
2022-06-18 15:37:01 +00:00
BASEDBOT_ID = 0
2022-11-07 00:49:50 +00:00
PRIVILEGED_USER_BOTS = ( )
2022-06-18 15:37:01 +00:00
SCHIZO_ID = 0
KIPPY_ID = 0
2022-09-12 05:01:37 +00:00
MCCOX_ID = 0
2022-09-12 11:06:46 +00:00
CHIOBU_ID = 0
2022-06-18 15:37:01 +00:00
PIZZASHILL_ID = 0
2022-11-09 20:59:10 +00:00
IMPASSIONATA_ID = 0
2022-09-02 00:48:15 +00:00
GUMROAD_MESSY = ( )
2022-06-18 15:37:01 +00:00
IDIO_ID = 0
CARP_ID = 0
JOAN_ID = 0
2022-08-13 03:11:44 +00:00
AEVANN_ID = 0
2022-06-18 15:37:01 +00:00
SNAKES_ID = 0
2022-10-06 03:59:33 +00:00
JUSTCOOL_ID = 0
2022-06-18 15:37:01 +00:00
HOMO_ID = 0
SOREN_ID = 0
LAWLZ_ID = 0
DAD_ID = 0
MOM_ID = 0
DONGER_ID = 0
2022-06-23 01:37:27 +00:00
GEESE_ID = 0
2022-10-10 06:37:42 +00:00
BLACKJACKBTZ_ID = 0
2022-11-17 22:50:06 +00:00
MODMAIL_ID = 2
2022-06-18 15:37:01 +00:00
2022-06-22 18:01:00 +00:00
POLL_THREAD = 0
2022-10-05 06:07:53 +00:00
POLL_BET_COINS = 200
2022-06-18 15:37:01 +00:00
WELCOME_MSG = f " Welcome to { SITE_NAME } ! "
LOTTERY_TICKET_COST = 12
LOTTERY_SINK_RATE = 3
LOTTERY_DURATION = 60 * 60 * 24 * 7
2022-07-13 12:56:30 +00:00
SIDEBAR_THREAD = 0
BANNER_THREAD = 0
BADGE_THREAD = 0
SNAPPY_THREAD = 0
2022-09-16 22:02:30 +00:00
GIFT_NOTIF_ID = 5
2022-10-10 06:37:42 +00:00
SIGNUP_FOLLOW_ID = 0
NOTIFICATION_THREAD = 1
2022-07-13 12:56:30 +00:00
2022-10-15 10:37:55 +00:00
MAX_IMAGE_SIZE_BANNER_RESIZED_KB = 500
2022-10-12 08:52:08 +00:00
MAX_IMAGE_AUDIO_SIZE_MB = 8
MAX_IMAGE_AUDIO_SIZE_MB_PATRON = 16
2022-10-12 06:27:17 +00:00
MAX_VIDEO_SIZE_MB = 32
MAX_VIDEO_SIZE_MB_PATRON = 64
2022-11-06 04:48:54 +00:00
MAX_IMAGE_CONVERSION_TIMEOUT = 15 # seconds
2022-10-12 06:27:17 +00:00
2022-10-27 03:28:21 +00:00
ANTISPAM_BYPASS_IDS = ( )
2022-10-24 17:27:25 +00:00
2022-10-29 03:20:48 +00:00
PAGE_SIZE = 25
LEADERBOARD_LIMIT = PAGE_SIZE
2022-11-05 06:00:02 +00:00
HOUSE_JOIN_COST = 500
HOUSE_SWITCH_COST = 2000
2022-11-15 16:55:00 +00:00
DONATE_SERVICE = " Gumroad " if not KOFI_TOKEN or KOFI_TOKEN == DEFAULT_CONFIG_VALUE else " KoFi "
DONATE_LINK = GUMROAD_LINK if not KOFI_TOKEN or KOFI_TOKEN == DEFAULT_CONFIG_VALUE else KOFI_LINK
2022-11-07 01:01:24 +00:00
2022-11-07 01:41:32 +00:00
TIERS_ID_TO_NAME = {
1 : " Paypig " ,
2 : " Renthog " ,
3 : " Landchad " ,
4 : " Terminally online turboautist " ,
5 : " JIDF Bankroller " ,
6 : " Rich Bich "
}
2022-11-11 13:52:18 +00:00
if SITE == ' rdrama.net ' :
2022-07-22 01:18:20 +00:00
FEATURES [ ' PRONOUNS ' ] = True
FEATURES [ ' HOUSES ' ] = True
2022-11-06 10:27:44 +00:00
FEATURES [ ' USERS_PERMANENT_WORD_FILTERS ' ] = True
2022-11-15 09:19:08 +00:00
FEATURES [ ' ASSET_SUBMISSIONS ' ] = True
2022-10-28 22:14:59 +00:00
PERMS [ ' ADMIN_ADD ' ] = 4
2022-07-22 01:18:20 +00:00
2022-07-13 12:56:30 +00:00
SIDEBAR_THREAD = 37696
BANNER_THREAD = 37697
BADGE_THREAD = 37833
SNAPPY_THREAD = 37749
2022-10-10 06:37:42 +00:00
NOTIFICATION_THREAD = 6489
2022-09-02 23:58:55 +00:00
2022-11-16 14:00:04 +00:00
CHAT_LENGTH_LIMIT = 200
2022-11-13 11:43:08 +00:00
TRUESCORE_CHAT_LIMIT = 10
2022-11-14 17:17:29 +00:00
TRUESCORE_GHOST_LIMIT = 10
2022-11-13 11:43:08 +00:00
2022-09-25 11:34:34 +00:00
HOLE_COST = 50000
2022-06-18 15:37:01 +00:00
HOLE_INACTIVITY_DELETION = True
2022-06-28 06:26:52 +00:00
2022-07-08 19:03:04 +00:00
AUTOJANNY_ID = 1046
2022-06-18 15:37:01 +00:00
SNAPPY_ID = 261
LONGPOSTBOT_ID = 1832
ZOZBOT_ID = 1833
2022-11-07 00:49:50 +00:00
PRIVILEGED_USER_BOTS = ( 12125 , 16049 )
2022-06-18 15:37:01 +00:00
SCHIZO_ID = 8494
KIPPY_ID = 7150
2022-09-12 05:01:37 +00:00
MCCOX_ID = 8239
2022-09-12 11:06:46 +00:00
CHIOBU_ID = 5214
2022-06-18 15:37:01 +00:00
PIZZASHILL_ID = 2424
2022-11-09 20:59:10 +00:00
IMPASSIONATA_ID = 5800
2022-09-02 00:48:15 +00:00
GUMROAD_MESSY = ( 1230 , 1379 )
2022-06-18 15:37:01 +00:00
IDIO_ID = 30
CARP_ID = 995
JOAN_ID = 28
AEVANN_ID = 1
SNAKES_ID = 10288
2022-10-06 03:59:33 +00:00
JUSTCOOL_ID = 4999
2022-06-18 15:37:01 +00:00
HOMO_ID = 147
SOREN_ID = 2546
LAWLZ_ID = 3833
DAD_ID = 2513
MOM_ID = 4588
DONGER_ID = 541
2022-06-23 01:37:27 +00:00
GEESE_ID = 1710
2022-10-10 06:37:42 +00:00
BLACKJACKBTZ_ID = 12732
2022-06-18 15:37:01 +00:00
2022-10-27 03:28:21 +00:00
ANTISPAM_BYPASS_IDS = ( 1703 , 13427 )
2022-10-24 17:27:25 +00:00
2022-09-16 22:02:30 +00:00
GIFT_NOTIF_ID = CARP_ID
2022-06-22 18:01:00 +00:00
POLL_THREAD = 79285
2022-10-29 02:07:43 +00:00
WELCOME_MSG = " Hi there! It ' s me, your soon-to-be favorite rDrama user @carpathianflorist here to give you a brief rundown on some of the sick features we have here. You ' ll probably want to start by following me, though. So go ahead and click my name and then smash that Follow button. This is actually really important, so go on. Hurry. \n \n Thanks! \n \n Next up: If you ' re a member of the media, similarly just shoot me a DM and I ' ll set about verifying you and then we can take care of your sad journalism stuff. \n \n **FOR EVERYONE ELSE** \n \n Begin by navigating to [the settings page](/settings/profile) (we ' ll be prettying this up so it ' s less convoluted soon, don ' t worry) and getting some basic customization done. \n \n ### Themes \n \n Definitely change your theme right away, the default one (Midnight) is pretty enough, but why not use something *exotic* like Win98, or *flashy* like Tron? Even Coffee is super tasteful and way more fun than the default. More themes to come when we get around to it! \n \n ### Avatar/pfp \n \n You ' ll want to set this pretty soon. Set the banner too while you ' re at it. Your profile is important! \n \n ### Flairs \n \n Since you ' re already on the settings page, you may as well set a flair, too. As with your username, you can - obviously - choose the color of this, either with a hex value or just from the preset colors. And also like your username, you can change this at any time. Paypigs can even further relive the glory days of 90s-00s internet and set obnoxious signatures. \n \n ### PROFILE ANTHEMS \n \n Speaking of profiles, hey, remember MySpace? Do you miss autoplaying music assaulting your ears every time you visited a friend ' s page? Yeah, we brought that back. Enter a YouTube URL, wait a few seconds for it to process, and then BAM! you ' ve got a profile anthem which people cannot mute. Unless they spend 20,000 dramacoin in the shop for a mute button. Which you can then remove from your profile by spending 40,000 dramacoin on an unmuteable anthem. Get fucked poors! \n \n ### Dramacoin? \n \n Dramacoin is basically our take on the karma system. Except unlike the karma system, it ' s not gay and boring and stupid and useless. Dramacoin can be spent at [Marsey ' s Dramacoin Emporium](/shop) on upgrades to your user experience (many more coming than what ' s already listed there), and best of all on tremendously annoying awards to fuck with your fellow dramautists. We ' re always adding more, so check back regularly in case you happen to miss one of the announcement posts. \n \n Like karma, dramacoin is obtained by getting upvotes on your threads and comments. *Unlike* karma, it ' s also obtained by getting downvotes on your threads and comments. Downvotes don ' t really do anything here - they pay the same amount of dramacoin and they increase thread/comment ranking just the same as an upvote. You just use them to express petty disapproval and hopefully start a fight. Because all votes are visible here. To hell with your anonymity. \n \n Dramacoin can also be traded amongst users from their profiles. Note that there is a 3 % transaction fee. \n \n ### Badges \n \n Remember all those neat little metallic icons you saw on my profile when you were following me? If not, scroll back up and go have a look. And doublecheck to make sure you pressed the Follow button. Anyway, those are badges. You earn them by doing a variety of things. Some of them even offer benefits, like discounts at the shop. A [complete list of badges and their requirements can be found here](/badges), though I add more pretty regularly, so keep an eye on the [changelog](/h/changelog). \n \n ### Other stuff \n \n We ' re always adding new features, and we take a fun-first approach to development. If you have a suggestion for something that would be fun, funny, annoying - or best of all, some combination of all three - definitely make a thread about it. Or just DM me if you ' re shy. Weirdo. Anyway there ' s also the [leaderboards](/leaderboard), boring stuff like two-factor authentication you can toggle on somewhere in the settings page (psycho), the ability to save posts and comments, more than
2022-06-18 15:37:01 +00:00
elif SITE == ' pcmemes.net ' :
2022-07-15 01:21:20 +00:00
PIN_LIMIT = 10
2022-08-04 04:07:17 +00:00
FEATURES [ ' REPOST_DETECTION ' ] = False
2022-11-15 09:19:08 +00:00
FEATURES [ ' STREAMERS ' ] = True
2022-10-11 15:26:20 +00:00
ERROR_MSGS [ 500 ] = " Hiiiii it ' s <b>nigger</b>! I think this error means that there ' s a <b>nigger</b> error. And I think that means something took too long to load so it decided to be a <b>nigger</b>. If you keep seeing this on the same page but not other pages, then something its probably a <b>niggerfaggot</b>. It may not be called a <b>nigger</b>, but that sounds right to me. Anyway, ping me and I ' ll whine to someone smarter to fix it. Don ' t bother them. Thanks ily <3 "
ERROR_MARSEYS [ 500 ] = " wholesome "
2022-06-18 15:37:01 +00:00
POST_RATE_LIMIT = ' 1/second;4/minute;20/hour;100/day '
2022-07-09 10:09:33 +00:00
HOLE_COST = 2000
2022-07-08 19:03:04 +00:00
AUTOJANNY_ID = 1046
2022-06-18 15:37:01 +00:00
SNAPPY_ID = 261
LONGPOSTBOT_ID = 1832
ZOZBOT_ID = 1833
BASEDBOT_ID = 800
KIPPY_ID = 1592
2022-10-10 06:37:42 +00:00
GIFT_NOTIF_ID = KIPPY_ID
SIGNUP_FOLLOW_ID = KIPPY_ID
NOTIFICATION_THREAD = 2487
2022-07-13 15:16:53 +00:00
CARP_ID = 13
2022-06-18 15:37:01 +00:00
AEVANN_ID = 1
SNAKES_ID = 2279
2022-10-22 23:02:31 +00:00
WELCOME_MSG = " Welcome to pcmemes.net! Don ' t forget to turn off the slur filter [here](/settings/content#slurreplacer)! "
2022-06-18 15:37:01 +00:00
LOTTERY_TICKET_COST = 12
LOTTERY_SINK_RATE = - 8
2022-10-07 01:32:08 +00:00
BANNER_THREAD = 28307
2022-10-17 19:13:33 +00:00
elif SITE == ' watchpeopledie.tv ' :
2022-10-23 08:48:19 +00:00
PIN_LIMIT = 4
2022-10-17 19:32:47 +00:00
WELCOME_MSG = """ Hi, you! Welcome to WatchPeopleDie.tv, this really cool site where you can go to watch people die. I ' m @CLiTPEELER! If you have any questions about how things work here, or suggestions on how to make them work better than they already do, definitely slide on into my DMs (no fat chicks). \n There ' s an enormously robust suite of fun features we have here and we ' re always looking for more to add. Way, way too many to go over in an automated welcome message. And you ' re probably here for the videos of people dying more than any sort of weird, paradoxical digital community aspect anyway, so I won ' t bore you with a tedious overview of them. Just head on over to [your settings page](https://watchpeopledie.tv/settings/profile) and have a look at some of the basic profile stuff, at least. You can change your profile picture, username, flair, colors, banners, bio, profile anthem (autoplaying song on your page, like it ' s MySpace or some shit, hell yeah), CSS, all sorts of things. \n Or you can just go back to the main feed and carry on with watching people die. That ' s what the site is for, after all. Have fun! \n Anyway, in closing, WPD is entirely open source. We don ' t really need new full-time coders or anything, but if you ' d like to take a look at our repo - or even submit a PR to change, fix, or add some things - go right ahead! We are on [GitHub](https://github.com/Aevann1/rDrama). \n Well, that ' s all. Thanks again for signing up. It ' s an automated message and all, but I really do mean that. Thank you, specifically. I love you. Romantically. Deeply. Passionately. \n Have fun! """
2022-08-30 21:17:08 +00:00
2022-08-25 20:34:05 +00:00
FEATURES [ ' PATRON_ICONS ' ] = True
2022-07-09 10:09:33 +00:00
PERMS [ ' HOLE_CREATE ' ] = 2
2022-10-20 14:42:52 +00:00
PERMS [ ' POST_EDITING ' ] = 2
2022-10-28 22:14:59 +00:00
PERMS [ ' ADMIN_ADD ' ] = 4
2022-11-06 05:25:22 +00:00
ERROR_TITLES [ 400 ] = " Bad Request "
ERROR_TITLES [ 401 ] = " Unauthorized "
ERROR_TITLES [ 403 ] = " Forbidden "
ERROR_TITLES [ 404 ] = " Not Found "
ERROR_TITLES [ 405 ] = " Method Not Allowed "
ERROR_TITLES [ 406 ] = " Too Many Pings "
2022-11-14 19:16:38 +00:00
ERROR_TITLES [ 409 ] = " Mortal Conflict "
2022-11-16 05:32:57 +00:00
ERROR_TITLES [ 410 ] = " Dead "
2022-11-14 19:16:38 +00:00
ERROR_TITLES [ 413 ] = " Payload Too Large "
2022-11-06 05:25:22 +00:00
ERROR_TITLES [ 415 ] = " Unsupported Media Type "
ERROR_TITLES [ 500 ] = " Internal Server Error "
2022-11-14 19:23:45 +00:00
ERROR_MSGS [ 400 ] = " That request is invalid "
ERROR_MSGS [ 401 ] = " You need to login or sign up to do that "
ERROR_MSGS [ 403 ] = " You ' re not allowed to do that "
ERROR_MSGS [ 404 ] = " That wasn ' t found "
ERROR_MSGS [ 405 ] = " You can ' t use this method here... if you keep getting this error tell us it ' s prolly something borked "
ERROR_MSGS [ 409 ] = " There ' s a conflict between what you ' re trying to do and what you or someone else has done and because of that you can ' t do what you ' re trying to do. "
2022-11-16 05:32:57 +00:00
ERROR_MSGS [ 410 ] = " This link is dead. Request a new one to try again "
2022-11-14 19:23:45 +00:00
ERROR_MSGS [ 413 ] = " You need to upload a smaller file please "
2022-11-14 19:24:30 +00:00
ERROR_MSGS [ 429 ] = " Please wait a bit before doing that "
2022-07-09 10:09:33 +00:00
2022-11-07 22:00:37 +00:00
POLL_THREAD = 13225
2022-09-29 18:08:36 +00:00
SIDEBAR_THREAD = 5403
BANNER_THREAD = 9869
2022-11-13 11:43:08 +00:00
TRUESCORE_CHAT_LIMIT = 10
2022-11-14 17:17:29 +00:00
TRUESCORE_GHOST_LIMIT = 10
2022-11-13 11:43:08 +00:00
2022-06-23 09:02:49 +00:00
HOLE_NAME = ' flair '
2022-06-23 09:40:01 +00:00
HOLE_STYLE_FLAIR = True
2022-06-26 01:01:21 +00:00
HOLE_REQUIRED = True
2022-07-07 03:45:33 +00:00
2022-07-10 12:05:12 +00:00
AUTOJANNY_ID = 1
2022-07-09 11:03:23 +00:00
SNAPPY_ID = 3
LONGPOSTBOT_ID = 4
ZOZBOT_ID = 5
2022-08-04 21:02:27 +00:00
CARP_ID = 14668
2022-06-18 15:37:01 +00:00
AEVANN_ID = 9
SNAKES_ID = 32
2022-09-16 22:02:30 +00:00
GIFT_NOTIF_ID = CARP_ID
2022-10-10 06:37:42 +00:00
SIGNUP_FOLLOW_ID = CARP_ID
2022-09-26 05:19:37 +00:00
2022-11-07 01:41:32 +00:00
TIERS_ID_TO_NAME = {
1 : " Victim " ,
2 : " Corpse " ,
3 : " Zombie " ,
4 : " Ghost " ,
5 : " Survivor " ,
6 : " Jigsaw "
}
2022-06-18 15:37:01 +00:00
else : # localhost or testing environment implied
2022-11-15 09:19:08 +00:00
FEATURES [ ' ASSET_SUBMISSIONS ' ] = True
2022-07-18 06:43:20 +00:00
FEATURES [ ' PRONOUNS ' ] = True
FEATURES [ ' HOUSES ' ] = True
2022-11-06 10:41:04 +00:00
FEATURES [ ' USERS_PERMANENT_WORD_FILTERS ' ] = True
2022-11-15 09:19:08 +00:00
FEATURES [ ' STREAMERS ' ] = True
2022-07-14 06:19:59 +00:00
2022-11-06 12:04:00 +00:00
HOUSES = ( " None " , " Furry " , " Femboy " , " Vampire " , " Racist " ) if FEATURES [ ' HOUSES ' ] else ( " None " )
2022-11-06 09:44:58 +00:00
2022-07-08 19:03:04 +00:00
bots = { AUTOJANNY_ID , SNAPPY_ID , LONGPOSTBOT_ID , ZOZBOT_ID , BASEDBOT_ID }
2022-06-18 15:37:01 +00:00
COLORS = { ' ff66ac ' , ' 805ad5 ' , ' 62ca56 ' , ' 38a169 ' , ' 80ffff ' , ' 2a96f3 ' , ' eb4963 ' , ' ff0000 ' , ' f39731 ' , ' 30409f ' , ' 3e98a7 ' , ' e4432d ' , ' 7b9ae4 ' , ' ec72de ' , ' 7f8fa6 ' , ' f8db58 ' , ' 8cdbe6 ' , DEFAULT_COLOR }
2022-10-30 18:01:01 +00:00
BAN_EVASION_DOMAIN = ' rdrama.life '
2022-06-18 15:37:01 +00:00
AWARDS = {
2022-10-23 21:49:12 +00:00
### Deprecated
2022-06-18 15:37:01 +00:00
" ghost " : {
" kind " : " ghost " ,
" title " : " Ghost " ,
" description " : " " ,
" icon " : " fas fa-ghost " ,
" color " : " text-white " ,
2022-10-30 21:27:53 +00:00
" price " : 3000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" nword " : {
" kind " : " nword " ,
" title " : " Nword Pass " ,
" description " : " " ,
" icon " : " fas fa-edit " ,
" color " : " text-success " ,
2022-10-30 21:27:53 +00:00
" price " : 10000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
2022-10-23 21:49:12 +00:00
### Fistmas 2021
2022-06-18 15:37:01 +00:00
" snow " : {
" kind " : " snow " ,
" title " : " Snow " ,
" description " : " " ,
" icon " : " fas fa-snowflake " ,
" color " : " text-blue-200 " ,
2022-10-30 21:27:53 +00:00
" price " : 300 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" gingerbread " : {
" kind " : " gingerbread " ,
" title " : " Gingerbread " ,
" description " : " " ,
" icon " : " fas fa-gingerbread-man " ,
" color " : " " ,
2022-10-30 21:27:53 +00:00
" price " : 300 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" lights " : {
" kind " : " lights " ,
" title " : " Lights " ,
" description " : " " ,
" icon " : " fas fa-lights-holiday " ,
" color " : " " ,
2022-10-30 21:27:53 +00:00
" price " : 300 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" candycane " : {
" kind " : " candycane " ,
" title " : " Candy Cane " ,
" description " : " " ,
" icon " : " fas fa-candy-cane " ,
" color " : " " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" fireplace " : {
" kind " : " fireplace " ,
" title " : " Fireplace " ,
" description " : " " ,
" icon " : " fas fa-fireplace " ,
" color " : " " ,
2022-10-30 21:27:53 +00:00
" price " : 600 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" grinch " : {
" kind " : " grinch " ,
" title " : " Grinch " ,
" description " : " " ,
" icon " : " fas fa-angry " ,
" color " : " text-green-500 " ,
2022-10-30 21:27:53 +00:00
" price " : 1000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
2022-10-23 21:49:12 +00:00
### Homoween 2021 & 2022
2022-06-18 15:37:01 +00:00
" haunt " : {
" kind " : " haunt " ,
" title " : " Haunt " ,
" description " : " " ,
" icon " : " fas fa-book-dead " ,
" color " : " text-warning " ,
2022-10-30 21:27:53 +00:00
" price " : 500 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" upsidedown " : {
" kind " : " upsidedown " ,
" title " : " The Upside Down " ,
" description " : " " ,
" icon " : " fas fa-lights-holiday " ,
" color " : " " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" stab " : {
" kind " : " stab " ,
" title " : " Stab " ,
" description " : " " ,
" icon " : " fas fa-knife-kitchen " ,
" color " : " text-danger " ,
2022-10-30 21:27:53 +00:00
" price " : 300 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" spiders " : {
" kind " : " spiders " ,
" title " : " Spiders " ,
" description " : " " ,
" icon " : " fas fa-spider " ,
" color " : " text-black " ,
2022-10-30 21:27:53 +00:00
" price " : 200 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" fog " : {
" kind " : " fog " ,
" title " : " Fog " ,
" description " : " " ,
" icon " : " fas fa-smoke " ,
" color " : " text-gray " ,
2022-10-30 21:27:53 +00:00
" price " : 200 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
2022-10-23 21:49:12 +00:00
### Homoween 2022
" jumpscare " : {
" kind " : " jumpscare " ,
" title " : " Jumpscare " ,
" description " : " " ,
" icon " : " fas fa-coffin-cross " ,
" color " : " text-purple " ,
2022-10-30 21:27:53 +00:00
" price " : 600 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-10-23 21:49:12 +00:00
} ,
" hw-bite " : {
" kind " : " hw-bite " ,
" title " : " Zombie Bite " ,
" description " : " " ,
" icon " : " fas fa-biohazard " ,
" color " : " text-danger " ,
2022-10-30 21:27:53 +00:00
" price " : 500 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-10-23 21:49:12 +00:00
} ,
" hw-vax " : {
" kind " : " hw-vax " ,
" title " : " Vaxxmaxx " ,
" description " : " " ,
" icon " : " fas fa-syringe " ,
" color " : " text-blue " ,
2022-10-30 21:27:53 +00:00
" price " : 500 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-10-23 21:49:12 +00:00
} ,
" hw-grinch " : {
" kind " : " hw-grinch " ,
" title " : " Hallowgrinch " ,
" description " : " " ,
" icon " : " fas fa-angry " ,
" color " : " text-orange " ,
2022-10-30 21:27:53 +00:00
" price " : 1000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-10-23 21:49:12 +00:00
} ,
" flashlight " : {
" kind " : " flashlight " ,
" title " : " Flashlight " ,
" description " : " " ,
" icon " : " fas fa-flashlight " ,
" color " : " text-black " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-10-23 21:49:12 +00:00
} ,
" candy-corn " : {
" kind " : " candy-corn " ,
" title " : " Candy Corn " ,
" description " : " " ,
" icon " : " fas fa-candy-corn " ,
" color " : " text-orange " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-10-23 21:49:12 +00:00
} ,
" ectoplasm " : {
" kind " : " ectoplasm " ,
" title " : " Ectoplasm " ,
" description " : " " ,
" icon " : " fas fa-ghost " ,
" color " : " text-success " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-10-23 21:49:12 +00:00
} ,
" bones " : {
" kind " : " bones " ,
" title " : " Bones " ,
" description " : " " ,
" icon " : " fas fa-bone " ,
" color " : " text-white " ,
2022-10-30 21:27:53 +00:00
" price " : 200 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-10-23 21:49:12 +00:00
} ,
" pumpkin " : {
" kind " : " pumpkin " ,
" title " : " Pumpkin " ,
" description " : " " ,
" icon " : " fas fa-jack-o-lantern " ,
" color " : " text-orange " ,
2022-10-30 21:27:53 +00:00
" price " : 200 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-10-23 21:49:12 +00:00
} ,
### Standard
2022-09-06 04:16:41 +00:00
" marsify " : {
" kind " : " marsify " ,
" title " : " Marsify " ,
2022-11-02 01:12:52 +00:00
" description " : " Marsifies the recipient ' s comments for 24 hours. " ,
2022-09-06 04:16:41 +00:00
" icon " : " fas fa-cat " ,
" color " : " text-white " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-09-06 04:16:41 +00:00
} ,
2022-06-18 15:37:01 +00:00
" shit " : {
" kind " : " shit " ,
" title " : " Shit " ,
" description " : " Makes flies swarm the post. " ,
" icon " : " fas fa-poop " ,
" color " : " text-black-50 " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" fireflies " : {
" kind " : " fireflies " ,
" title " : " Fireflies " ,
" description " : " Makes fireflies swarm the post. " ,
" icon " : " fas fa-sparkles " ,
" color " : " text-warning " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" train " : {
" kind " : " train " ,
" title " : " Train " ,
" description " : " Summons a train on the post. " ,
" icon " : " fas fa-train " ,
" color " : " text-pink " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" scooter " : {
" kind " : " scooter " ,
" title " : " Scooter " ,
" description " : " Summons a scooter on the post. " ,
" icon " : " fas fa-flag-usa " ,
" color " : " text-muted " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" wholesome " : {
" kind " : " wholesome " ,
" title " : " Wholesome " ,
" description " : " Summons a wholesome marsey on the post. " ,
" icon " : " fas fa-smile-beam " ,
" color " : " text-yellow " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" firework " : {
" kind " : " firework " ,
" title " : " Fireworks " ,
" description " : " Summons fireworks on the post. " ,
" icon " : " fas fa-bahai " ,
" color " : " text-danger " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" confetti " : {
" kind " : " confetti " ,
" title " : " Confetti " ,
" description " : " Summons confetti to fall on the post. " ,
" icon " : " fas fa-party-horn " ,
" color " : " text-yellow " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" ricardo " : {
" kind " : " ricardo " ,
" title " : " Stripper Cake " ,
" description " : " Summons Ricardo to dance on the post. " ,
" icon " : " fas fa-pinata " ,
" color " : " text-pink " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" tilt " : {
" kind " : " tilt " ,
" title " : " Tilt " ,
" description " : " Tilts the post or comment " ,
" icon " : " fas fa-car-tilt " ,
" color " : " text-blue " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" glowie " : {
" kind " : " glowie " ,
" title " : " Glowie " ,
" description " : " Indicates that the recipient can be seen when driving. Just run them over. " ,
" icon " : " fas fa-user-secret " ,
" color " : " text-green " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" rehab " : {
" kind " : " rehab " ,
" title " : " Rehab " ,
" description " : " Prevents the user from gambling for 24 hours in a last ditch effort to save them from themself. " ,
" icon " : " fas fa-dice-six " ,
" color " : " text-black " ,
2022-10-30 21:27:53 +00:00
" price " : 777 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
2022-11-09 19:08:25 +00:00
" agendaposter " : {
" kind " : " agendaposter " ,
" title " : " Chud " ,
" description " : " Chuds the recipient for 24 hours. " ,
" icon " : " fas fa-snooze " ,
" color " : " text-purple " ,
" price " : 1000 ,
" deflectable " : True ,
" cosmetic " : False
} ,
2022-10-18 10:31:50 +00:00
" offsitementions " : {
" kind " : " offsitementions " ,
" title " : " Y ' all Seein ' Eye " ,
" description " : " Gives the recipient access to notifications when people off-site talk about us. " ,
" icon " : " fas fa-eyes " ,
" color " : " text-orange " ,
" price " : 1000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-10-18 10:31:50 +00:00
} ,
2022-08-27 02:57:19 +00:00
" lootbox " : {
" kind " : " lootbox " ,
" title " : " Lootbox " ,
" description " : " " ,
" icon " : " fas fa-box-open " ,
" color " : " text-blue " ,
2022-10-30 21:27:53 +00:00
" price " : 1000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-08-27 02:57:19 +00:00
} ,
2022-06-18 15:37:01 +00:00
" beano " : {
" kind " : " beano " ,
" title " : " Beano " ,
" description " : " Stops you from embarrassing yourself with your flatulence " ,
" icon " : " fas fa-gas-pump-slash " ,
" color " : " text-green " ,
2022-10-30 21:27:53 +00:00
" price " : 1000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" unpin " : {
" kind " : " unpin " ,
2022-09-23 14:43:45 +00:00
" title " : " Unpin " ,
" description " : " Removes 1 hour from the pin duration of a post or 6 hours from the pin duration of a comment. " ,
2022-06-18 15:37:01 +00:00
" icon " : " fas fa-thumbtack fa-rotate--45 " ,
" color " : " text-black " ,
2022-10-30 21:27:53 +00:00
" price " : 1000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" flairlock " : {
" kind " : " flairlock " ,
" title " : " 1-Day Flairlock " ,
" description " : " Sets a flair for the recipient and locks it for 24 hours. " ,
" icon " : " fas fa-lock " ,
" color " : " text-black " ,
2022-10-30 21:27:53 +00:00
" price " : 1250 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
2022-09-09 06:37:58 +00:00
" pin " : {
" kind " : " pin " ,
2022-09-23 14:43:45 +00:00
" title " : " Pin " ,
" description " : " Pins a post for 1 hour or a comment for 6 hours. " ,
2022-09-09 06:37:58 +00:00
" icon " : " fas fa-thumbtack fa-rotate--45 " ,
" color " : " text-warning " ,
2022-10-30 21:27:53 +00:00
" price " : 1500 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-09-09 06:37:58 +00:00
} ,
2022-07-04 02:06:28 +00:00
" progressivestack " : {
" kind " : " progressivestack " ,
" title " : " Progressive Stack " ,
" description " : " Makes votes on the recipient ' s posts and comments weigh double in the ranking algorithm for 6 hours. " ,
" icon " : " fas fa-bullhorn " ,
" color " : " text-danger " ,
2022-10-30 21:27:53 +00:00
" price " : 1500 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-07-04 02:06:28 +00:00
} ,
2022-06-18 15:37:01 +00:00
" pizzashill " : {
" kind " : " pizzashill " ,
" title " : " Pizzashill " ,
" description " : " Forces the recipient to make all posts/comments > 280 characters for 24 hours. " ,
" icon " : " fas fa-pizza-slice " ,
" color " : " text-orange " ,
2022-10-30 21:27:53 +00:00
" price " : 1500 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" bird " : {
" kind " : " bird " ,
" title " : " Bird Site " ,
" description " : " Forces the recipient to make all posts/comments < 140 characters for 24 hours. " ,
2022-09-08 17:41:37 +00:00
" icon " : " fab fa-twitter " ,
2022-06-18 15:37:01 +00:00
" color " : " text-blue " ,
2022-10-30 21:27:53 +00:00
" price " : 1500 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
2022-09-20 17:52:52 +00:00
" spider " : {
2022-10-28 23:39:31 +00:00
" kind " : " spider " ,
" title " : " Spider! " ,
" description " : f " Summons a spider to terrorize the recipient for 24 hours. " ,
" icon " : " fas fa-spider " ,
" color " : " text-brown " ,
2022-10-30 21:27:53 +00:00
" price " : 2000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-10-28 23:39:31 +00:00
} ,
2022-06-18 15:37:01 +00:00
" deflector " : {
" kind " : " deflector " ,
" title " : " Deflector " ,
" description " : " Causes most awards received for the next 10 hours to be deflected back at their giver. " ,
" icon " : " fas fa-shield " ,
" color " : " text-pink " ,
2022-10-30 21:27:53 +00:00
" price " : 2750 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" marsey " : {
" kind " : " marsey " ,
" title " : " Marsey " ,
" description " : " Makes the recipient unable to post/comment anything but marsey emojis for 24 hours. " ,
" icon " : " fas fa-cat " ,
" color " : " text-orange " ,
2022-10-30 21:27:53 +00:00
" price " : 3000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" ban " : {
" kind " : " ban " ,
" title " : " 1-Day Ban " ,
" description " : " Bans the recipient for a day. " ,
" icon " : " fas fa-gavel " ,
" color " : " text-danger " ,
2022-10-30 21:27:53 +00:00
" price " : 3000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" unban " : {
" kind " : " unban " ,
" title " : " 1-Day Unban " ,
" description " : " Removes 1 day from the ban duration of the recipient. " ,
" icon " : " fas fa-gavel " ,
" color " : " text-success " ,
2022-10-30 21:27:53 +00:00
" price " : 3500 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" benefactor " : {
" kind " : " benefactor " ,
" title " : " Benefactor " ,
2022-08-14 12:59:56 +00:00
" description " : f " Grants one month of { patron } status and 2500 marseybux to the recipient. Cannot be used on yourself. " ,
2022-06-18 15:37:01 +00:00
" icon " : " fas fa-gift " ,
" color " : " text-blue " ,
2022-10-30 21:27:53 +00:00
" price " : 4000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" grass " : {
" kind " : " grass " ,
" title " : " Grass " ,
" description " : " Ban the recipient for 30 days (if they provide a timestamped picture of them touching grass/snow/sand/ass to the admins, they will get unbanned immediately) " ,
" icon " : " fas fa-seedling " ,
" color " : " text-success " ,
2022-10-30 21:27:53 +00:00
" price " : 10000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" eye " : {
" kind " : " eye " ,
" title " : " All-Seeing Eye " ,
" description " : " Gives the recipient the ability to view private profiles. " ,
" icon " : " fas fa-eye " ,
" color " : " text-silver " ,
2022-10-30 21:27:53 +00:00
" price " : 10000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" unblockable " : {
" kind " : " unblockable " ,
" title " : " Unblockable " ,
" description " : " Makes the recipient unblockable and removes all blocks on them. " ,
2022-09-08 15:38:27 +00:00
" icon " : " fas fa-laugh-squint " ,
2022-06-18 15:37:01 +00:00
" color " : " text-lightgreen " ,
2022-10-30 21:27:53 +00:00
" price " : 20000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" fish " : {
" kind " : " fish " ,
" title " : " Fish " ,
" description " : " This user cannot be unfollowed " ,
" icon " : " fas fa-fish " ,
" color " : " text-lightblue " ,
2022-10-30 21:27:53 +00:00
" price " : 20000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" pause " : {
" kind " : " pause " ,
" title " : " Pause " ,
" description " : " Gives the recipient the ability to pause profile anthems. " ,
" icon " : " fas fa-volume-mute " ,
" color " : " text-danger " ,
2022-10-30 21:27:53 +00:00
" price " : 20000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" unpausable " : {
" kind " : " unpausable " ,
" title " : " Unpausable " ,
" description " : " Makes the profile anthem of the recipient unpausable. " ,
" icon " : " fas fa-volume " ,
" color " : " text-success " ,
2022-10-30 21:27:53 +00:00
" price " : 40000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" alt " : {
" kind " : " alt " ,
" title " : " Alt-Seeing Eye " ,
" description " : " Gives the recipient the ability to view alts. " ,
" icon " : " fas fa-eye " ,
" color " : " text-gold " ,
2022-10-30 21:27:53 +00:00
" price " : 50000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
" checkmark " : {
" kind " : " checkmark " ,
" title " : " Checkmark " ,
" description " : " Gives the recipient a checkmark. " ,
" icon " : " fas fa-badge-check " ,
" color " : " checkmark " ,
2022-10-30 21:27:53 +00:00
" price " : 50000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-06-18 15:37:01 +00:00
} ,
}
2022-09-02 18:10:35 +00:00
if SITE_NAME != ' rDrama ' :
EXTRA_AWARDS = {
" owoify " : {
" kind " : " owoify " ,
" title " : " OwOify " ,
" description " : " OwOifies the recipient ' s comments for 6 hours. " ,
" icon " : " fas fa-paw-simple " ,
" color " : " text-purple " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-09-02 18:10:35 +00:00
} ,
2022-09-06 04:16:41 +00:00
" rainbow " : {
" kind " : " rainbow " ,
" title " : " Rainbow " ,
" description " : " Makes the recipient ' s comments and posts in rainbow text for 24 hours. " ,
" icon " : " fas fa-cloud-rainbow " ,
" color " : " text-pink " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-09-02 18:10:35 +00:00
} ,
}
AWARDS . update ( EXTRA_AWARDS )
2022-06-18 15:37:01 +00:00
if SITE_NAME == ' PCM ' :
PCM_AWARDS = {
" croag " : {
" kind " : " croag " ,
" title " : " Croag " ,
" description " : " Summons Croag on the post. " ,
" icon " : " fas fa-head-side " ,
" color " : " text-gold " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" toe " : {
" kind " : " toe " ,
" title " : " Toe Hype " ,
" description " : " Summons Blade ' s toe on the post. " ,
" icon " : " fas fa-socks " ,
" color " : " text-blue " ,
2022-10-30 21:27:53 +00:00
" price " : 150 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
} ,
" crab " : {
" kind " : " crab " ,
" title " : " Crab " ,
" description " : " Rave time! " ,
" icon " : " fas fa-crab " ,
" color " : " text-danger " ,
2022-10-30 21:27:53 +00:00
" price " : 4000 ,
2022-11-05 02:16:08 +00:00
" deflectable " : False ,
2022-11-05 02:22:10 +00:00
" cosmetic " : True
2022-06-18 15:37:01 +00:00
}
}
2022-09-02 18:10:35 +00:00
AWARDS . update ( PCM_AWARDS )
2022-06-18 15:37:01 +00:00
2022-11-09 23:06:36 +00:00
# Permit only cosmetics and pin/unpin on ghosted things.
for award in AWARDS :
AWARDS [ award ] [ ' ghost ' ] = AWARDS [ award ] [ ' cosmetic ' ]
AWARDS [ ' pin ' ] [ ' ghost ' ] = True
AWARDS [ ' unpin ' ] [ ' ghost ' ] = True
2022-06-18 15:37:01 +00:00
# Disable unused awards, and site-specific award inclusion/exclusion.
AWARDS_DISABLED = [
' ghost ' , ' nword ' , ' lootbox ' , # Generic
2022-10-23 21:52:38 +00:00
' snow ' , ' gingerbread ' , ' lights ' , ' candycane ' , ' fireplace ' , ' grinch ' , # Fistmas
' haunt ' , ' upsidedown ' , ' stab ' , ' spiders ' , ' fog ' , # Homoween '21
' jumpscare ' , ' hw-bite ' , ' hw-vax ' , ' hw-grinch ' , ' flashlight ' , # Homoween '22
' candy-corn ' , ' ectoplasm ' , ' bones ' , ' pumpkin ' , # Homoween '22 (cont'd)
2022-06-18 15:37:01 +00:00
]
2022-08-23 18:09:38 +00:00
2022-08-27 02:57:19 +00:00
HOUSE_AWARDS = {
" Furry " : {
2022-09-04 23:15:37 +00:00
" kind " : " Furry " ,
" title " : " OwOify " ,
" description " : " OwOifies the recipient ' s comments for 6 hours. " ,
" icon " : " fas fa-paw-simple " ,
" color " : " text-purple " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-09-04 23:15:37 +00:00
} ,
2022-08-27 02:57:19 +00:00
" Femboy " : {
2022-09-04 23:15:37 +00:00
" kind " : " Femboy " ,
2022-09-06 04:16:41 +00:00
" title " : " Rainbow " ,
" description " : " Makes the recipient ' s comments and posts in rainbow text for 24 hours. " ,
" icon " : " fas fa-cloud-rainbow " ,
" color " : " text-pink " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-09-04 23:15:37 +00:00
} ,
2022-08-27 02:57:19 +00:00
" Vampire " : {
2022-09-04 23:15:37 +00:00
" kind " : " Vampire " ,
" title " : " Bite " ,
2022-11-09 19:09:38 +00:00
" description " : " Turns the recipient into a vampire for 2 days. " ,
2022-09-04 23:15:37 +00:00
" icon " : " fas fa-bat " ,
" color " : " text-gray " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-09-04 23:15:37 +00:00
} ,
2022-08-27 02:57:19 +00:00
" Racist " : {
2022-09-04 23:15:37 +00:00
" kind " : " Racist " ,
" title " : " Early Life " ,
" description " : " Checks the recipient ' s Early Life section on Wikipedia. Notices. " ,
" icon " : " fas fa-star-of-david " ,
" color " : " text-yellow " ,
2022-10-30 21:27:53 +00:00
" price " : 400 ,
2022-11-05 02:16:08 +00:00
" deflectable " : True ,
2022-11-05 02:22:10 +00:00
" cosmetic " : False
2022-09-04 23:15:37 +00:00
} ,
2022-08-27 02:57:19 +00:00
}
2022-08-27 03:22:57 +00:00
temp = deepcopy ( HOUSE_AWARDS ) . items ( )
for k , val in temp :
HOUSE_AWARDS [ f ' { k } Founder ' ] = val
HOUSE_AWARDS [ f ' { k } Founder ' ] [ ' kind ' ] + = ' Founder '
HOUSE_AWARDS [ f ' { k } Founder ' ] [ ' price ' ] = int ( HOUSE_AWARDS [ f ' { k } Founder ' ] [ ' price ' ] * 0.75 )
2022-08-23 18:09:38 +00:00
if SITE_NAME != ' rDrama ' :
AWARDS_DISABLED . append ( ' progressivestack ' )
2022-10-18 01:55:07 +00:00
if SITE_NAME == ' PCM ' :
# Previous set of disabled, changed temporarily by request 2022-10-17
#AWARDS_DISABLED.extend(['ban','pizzashill','marsey','bird','grass','chud','unblockable'])
AWARDS_DISABLED . extend ( [ ' unblockable ' ] )
2022-06-18 15:37:01 +00:00
AWARDS_DISABLED . remove ( ' ghost ' )
elif SITE_NAME == ' WPD ' :
AWARDS_DISABLED . remove ( ' lootbox ' )
2022-07-18 05:10:01 +00:00
if not FEATURES [ ' PROCOINS ' ] :
2022-06-27 04:09:32 +00:00
AWARDS_DISABLED . append ( ' benefactor ' )
2022-06-18 15:37:01 +00:00
AWARDS2 = { x : AWARDS [ x ] for x in AWARDS if x not in AWARDS_DISABLED }
DOUBLE_XP_ENABLED = - 1 # set to unixtime for when DXP begins, -1 to disable
TROLLTITLES = [
" how will @ {username} ever recover? " ,
" @ {username} BTFO " ,
2022-09-03 00:10:15 +00:00
" [META] Getting really sick of @ {username} ' s shit " ,
2022-06-18 15:37:01 +00:00
" Pretty sure this is @ {username} ' s Reddit account " ,
" Hey jannies can you please ban @ {username} " ,
]
NOTIFIED_USERS = {
' aevan ' : AEVANN_ID ,
' avean ' : AEVANN_ID ,
' joan ' : JOAN_ID ,
' pewkie ' : JOAN_ID ,
' carp ' : CARP_ID ,
2022-11-04 03:54:14 +00:00
' idio3 ' : IDIO_ID ,
2022-06-18 15:37:01 +00:00
' idio ' : IDIO_ID ,
2022-11-11 15:34:20 +00:00
' telegram ' : IDIO_ID ,
2022-06-18 15:37:01 +00:00
' the_homocracy ' : HOMO_ID ,
2022-11-13 22:39:02 +00:00
' schizo ' : SCHIZO_ID ,
2022-06-18 15:37:01 +00:00
' snakes ' : SNAKES_ID ,
' sneks ' : SNAKES_ID ,
2022-11-11 05:27:52 +00:00
' snekky ' : SNAKES_ID ,
2022-10-23 15:06:59 +00:00
' jc ' : JUSTCOOL_ID ,
2022-10-06 03:59:33 +00:00
' justcool ' : JUSTCOOL_ID ,
2022-09-12 05:01:37 +00:00
' geese ' : GEESE_ID ,
' clit ' : CARP_ID ,
' kippy ' : KIPPY_ID ,
' mccox ' : MCCOX_ID ,
2022-11-13 22:39:02 +00:00
' lawlz ' : LAWLZ_ID ,
2022-09-12 11:06:46 +00:00
' chiobu ' : CHIOBU_ID ,
2022-09-12 05:01:37 +00:00
' donger ' : DONGER_ID ,
' soren ' : SOREN_ID ,
2022-11-09 19:13:34 +00:00
' pizzashill ' : PIZZASHILL_ID ,
2022-11-09 20:59:10 +00:00
' impassionata ' : IMPASSIONATA_ID ,
2022-06-18 15:37:01 +00:00
}
FORTUNE_REPLIES = ( ' <b style= " color:#6023f8 " >Your fortune: Allah Wills It</b> ' , ' <b style= " color:#d302a7 " >Your fortune: Inshallah, Only Good Things Shall Come To Pass</b> ' , ' <b style= " color:#e7890c " >Your fortune: Allah Smiles At You This Day</b> ' , ' <b style= " color:#7fec11 " >Your fortune: Your Bussy Is In For A Blasting</b> ' , ' <b style= " color:#43fd3b " >Your fortune: You Will Be Propositioned By A High-Tier Twink</b> ' , ' <b style= " color:#9d05da " >Your fortune: Repent, You Have Displeased Allah And His Vengeance Is Nigh</b> ' , ' <b style= " color:#f51c6a " >Your fortune: Reply Hazy, Try Again</b> ' , ' <b style= " color:#00cbb0 " >Your fortune: lmao you just lost 100 coins</b> ' , ' <b style= " color:#2a56fb " >Your fortune: Yikes 😬</b> ' , ' <b style= " color:#0893e1 " >Your fortune: You Will Be Blessed With Many Black Bulls</b> ' , ' <b style= " color:#16f174 " >Your fortune: NEETmax, The Day Is Lost If You Venture Outside</b> ' , ' <b style= " color:#fd4d32 " >Your fortune: A Taste Of Jannah Awaits You Today</b> ' , ' <b style= " color:#bac200 " >Your fortune: Watch Your Back</b> ' , ' <b style= " color:#6023f8 " >Your fortune: Outlook good</b> ' , ' <b style= " color:#d302a7 " >Your fortune: Godly Luck</b> ' , ' <b style= " color:#e7890c " >Your fortune: Good Luck</b> ' , ' <b style= " color:#7fec11 " >Your fortune: Bad Luck</b> ' , ' <b style= " color:#43fd3b " >Your fortune: Good news will come to you by mail</b> ' , ' <b style= " color:#9d05da " >Your fortune: Very Bad Luck</b> ' , ' <b style= " color:#00cbb0 " >Your fortune: キタ━━━━━━(゚∀゚)━━━━━━ !!!!</b> ' , ' <b style= " color:#2a56fb " >Your fortune: Better not tell you now</b> ' , ' <b style= " color:#0893e1 " >Your fortune: You will meet a dark handsome stranger</b> ' , ' <b style= " color:#16f174 " >Your fortune: ( ´ _ゝ`)フーン</b> ' , ' <b style= " color:#fd4d32 " >Your fortune: Excellent Luck</b> ' , ' <b style= " color:#bac200 " >Your fortune: Average Luck</b> ' )
FACTCHECK_REPLIES = ( ' <b style= " color:#6023f8 " >Factcheck: This claim has been confirmed as correct by experts. </b> ' , ' <b style= " color:#d302a7 " >Factcheck: This claim has been classified as misogynistic.</b> ' , ' <b style= " color:#e7890c " >Factcheck: This claim is currently being debunked.</b> ' , ' <b style= " color:#7fec11 " >Factcheck: This claim is 100 % true.</b> ' , ' <b style= " color:#9d05da " >Factcheck: This claim hurts trans lives.</b> ' , ' <b style= " color:#f51c6a " >Factcheck: [REDACTED].</b> ' , ' <b style= " color:#00cbb0 " >Factcheck: This claim is both true and false.</b> ' , ' <b style= " color:#2a56fb " >Factcheck: You really believe that shit? Lmao dumbass nigga 🤣</b> ' , ' <b style= " color:#0893e1 " >Factcheck: None of this is real.</b> ' , ' <b style= " color:#16f174 " >Factcheck: Yes.</b> ' , ' <b style= " color:#fd4d32 " >Factcheck: This claim has not been approved by experts.</b> ' , ' <b style= " color:#bac200 " >Factcheck: This claim is a gross exageration of reality.</b> ' , ' <b style= " color:#ff2200 " >Factcheck: WARNING! THIS CLAIM HAS BEEN CLASSIFIED AS DANGEROUS. PLEASE REMAIN STILL, AN AGENT WILL COME TO MEET YOU SHORTLY.</b> ' )
2022-09-03 00:10:15 +00:00
EIGHTBALL_REPLIES = ( ' <b style= " color:#7FEC11 " >The 8-Ball Says: It is certain.</b> ' , ' <b style= " color:#7FEC11 " >The 8-Ball Says: It is decidedly so.</b> ' , ' <b style= " color:#7FEC11 " >The 8-Ball Says: Without a doubt.</b> ' , ' <b style= " color:#7FEC11 " >The 8-Ball Says: Yes definitely.</b> ' , ' <b style= " color:#7FEC11 " >The 8-Ball Says: You may rely on it.</b> ' , ' <b style= " color:#7FEC11 " >The 8-Ball Says: As I see it, yes.</b> ' , ' <b style= " color:#7FEC11 " >The 8-Ball Says: Most likely.</b> ' , ' <b style= " color:#7FEC11 " >The 8-Ball Says: Outlook good.</b> ' , ' <b style= " color:#7FEC11 " >The 8-Ball Says: Yes.</b> ' , ' <b style= " color:#7FEC11 " >The 8-Ball Says: Signs point to yes.</b> ' , ' <b style= " color:#E7890C " >The 8-Ball Says: Reply hazy, try again.</b> ' , ' <b style= " color:#E7890C " >The 8-Ball Says: Ask again later.</b> ' , ' <b style= " color:#E7890C " >The 8-Ball Says: Better not tell you now.</b> ' , ' <b style= " color:#E7890C " >The 8-Ball Says: Cannot predict now.</b> ' , ' <b style= " color:#E7890C " >The 8-Ball Says: Concentrate and ask again.</b> ' , ' <b style= " color:#FD4D32 " >The 8-Ball Says: Don \' t count on it.</b> ' , ' <b style= " color:#FD4D32 " >The 8-Ball Says: My reply is no.</b> ' , ' <b style= " color:#FD4D32 " >The 8-Ball Says: My sources say no.</b> ' , ' <b style= " color:#FD4D32 " >The 8-Ball Says: Outlook not so good.</b> ' , ' <b style= " color:#FD4D32 " >The 8-Ball Says: Very doubtful.</b> ' )
2022-07-11 12:14:18 +00:00
2022-07-23 13:03:59 +00:00
REDDIT_NOTIFS_SITE = set ( )
REDDIT_NOTIFS_USERS = { }
2022-06-18 15:37:01 +00:00
2022-07-23 13:02:36 +00:00
if len ( SITE_NAME ) > 5 :
REDDIT_NOTIFS_SITE . add ( SITE_NAME . lower ( ) )
2022-07-12 00:47:46 +00:00
2022-06-18 15:37:01 +00:00
if SITE != ' localhost ' :
2022-07-23 13:02:36 +00:00
REDDIT_NOTIFS_SITE . add ( SITE )
2022-06-18 15:37:01 +00:00
2022-11-11 13:52:18 +00:00
if SITE == ' rdrama.net ' :
2022-07-23 13:02:36 +00:00
REDDIT_NOTIFS_SITE . add ( ' marsey ' )
2022-10-17 17:46:30 +00:00
REDDIT_NOTIFS_SITE . add ( ' " r/Drama " ' )
2022-10-23 15:06:59 +00:00
REDDIT_NOTIFS_SITE . add ( ' justice4darrell ' )
2022-06-18 15:37:01 +00:00
REDDIT_NOTIFS_USERS = {
' idio3 ' : IDIO_ID ,
' aevann ' : AEVANN_ID ,
' carpflo ' : CARP_ID ,
' carpathianflorist ' : CARP_ID ,
' carpathian florist ' : CARP_ID ,
' the_homocracy ' : HOMO_ID ,
2022-10-17 19:34:23 +00:00
' justcool393 ' : JUSTCOOL_ID
2022-06-18 15:37:01 +00:00
}
elif SITE_NAME == ' WPD ' :
2022-07-23 13:02:36 +00:00
REDDIT_NOTIFS_SITE . update ( { ' watchpeopledie ' , ' makemycoffin ' } )
2022-06-18 15:37:01 +00:00
discounts = {
# Big Spender badges, 2pp additive discount each
69 : 0.02 ,
70 : 0.02 ,
71 : 0.02 ,
72 : 0.02 ,
73 : 0.02 ,
# Lootbox badges, 1pp additive discount each
76 : 0.01 ,
77 : 0.01 ,
78 : 0.01 ,
}
CF_HEADERS = { " Authorization " : f " Bearer { CF_KEY } " , " Content-Type " : " application/json " }
WORDLE_LIST = ( ' aaron ' , ' about ' , ' above ' , ' abuse ' , ' acids ' , ' acres ' , ' actor ' , ' acute ' , ' adams ' , ' added ' , ' admin ' , ' admit ' , ' adopt ' , ' adult ' , ' after ' , ' again ' , ' agent ' , ' aging ' , ' agree ' , ' ahead ' , ' aimed ' , ' alarm ' , ' album ' , ' alert ' , ' alias ' , ' alice ' , ' alien ' , ' align ' , ' alike ' , ' alive ' , ' allah ' , ' allan ' , ' allen ' , ' allow ' , ' alloy ' , ' alone ' , ' along ' , ' alpha ' , ' alter ' , ' amber ' , ' amend ' , ' amino ' , ' among ' , ' angel ' , ' anger ' , ' angle ' , ' angry ' , ' anime ' , ' annex ' , ' annie ' , ' apart ' , ' apple ' , ' apply ' , ' april ' , ' areas ' , ' arena ' , ' argue ' , ' arise ' , ' armed ' , ' armor ' , ' array ' , ' arrow ' , ' aruba ' , ' ascii ' , ' asian ' , ' aside ' , ' asked ' , ' asset ' , ' atlas ' , ' audio ' , ' audit ' , ' autos ' , ' avoid ' , ' award ' , ' aware ' , ' awful ' , ' babes ' , ' bacon ' , ' badge ' , ' badly ' , ' baker ' , ' balls ' , ' bands ' , ' banks ' , ' barry ' , ' based ' , ' bases ' , ' basic ' , ' basin ' , ' basis ' , ' batch ' , ' baths ' , ' beach ' , ' beads ' , ' beans ' , ' bears ' , ' beast ' , ' beats ' , ' began ' , ' begin ' , ' begun ' , ' being ' , ' belle ' , ' belly ' , ' below ' , ' belts ' , ' bench ' , ' berry ' , ' betty ' , ' bible ' , ' bikes ' , ' bills ' , ' billy ' , ' bingo ' , ' birds ' , ' birth ' , ' bitch ' , ' black ' , ' blade ' , ' blair ' , ' blake ' , ' blame ' , ' blank ' , ' blast ' , ' blend ' , ' bless ' , ' blind ' , ' blink ' , ' block ' , ' blogs ' , ' blond ' , ' blood ' , ' bloom ' , ' blues ' , ' board ' , ' boats ' , ' bobby ' , ' bonds ' , ' bones ' , ' bonus ' , ' boobs ' , ' books ' , ' boost ' , ' booth ' , ' boots ' , ' booty ' , ' bored ' , ' bound ' , ' boxed ' , ' boxes ' , ' brain ' , ' brake ' , ' brand ' , ' brass ' , ' brave ' , ' bread ' , ' break ' , ' breed ' , ' brian ' , ' brick ' , ' bride ' , ' brief ' , ' bring ' , ' broad ' , ' broke ' , ' brook ' , ' brown ' , ' bruce ' , ' brush ' , ' bryan ' , ' bucks ' , ' buddy ' , ' build ' , ' built ' , ' bunch ' , ' bunny ' , ' burke ' , ' burns ' , ' burst ' , ' buses ' , ' busty ' , ' butts ' , ' buyer ' , ' bytes ' , ' cabin ' , ' cable ' , ' cache ' , ' cakes ' , ' calif ' , ' calls ' , ' camel ' , ' camps ' , ' canal ' , ' candy ' , ' canon ' , ' cards ' , ' carey ' , ' cargo ' , ' carlo ' , ' carol ' , ' carry ' , ' cases ' , ' casey ' , ' casio ' , ' catch ' , ' cause ' , ' cedar ' , ' cells ' , ' cents ' , ' chain ' , ' chair ' , ' chaos ' , ' charm ' , ' chart ' , ' chase ' , ' cheap ' , ' cheat ' , ' check ' , ' chess ' , ' chest ' , ' chevy ' , ' chick ' , ' chief ' , ' child ' , ' chile ' , ' china ' , ' chips ' , ' choir ' , ' chose ' , ' chris ' , ' chuck ' , ' cindy ' , ' cisco ' , ' cited ' , ' civic ' , ' civil ' , ' claim ' , ' clara ' , ' clark ' , ' class ' , ' clean ' , ' clear ' , ' clerk ' , ' click ' , ' cliff ' , ' climb ' , ' clips ' , ' clock ' , ' clone ' , ' close ' , ' cloth ' , ' cloud ' , ' clubs ' , ' coach ' , ' coast ' , ' cocks ' , ' codes ' , ' cohen ' , ' coins ' , ' colin ' , ' colon ' , ' color ' , ' combo ' , ' comes ' , ' comic ' , ' condo ' , ' congo ' , ' const ' , ' coral ' , ' corps ' , ' costa ' , ' costs ' , ' could ' , ' count ' , ' court ' , ' cover ' , ' crack ' , ' craft ' , ' craig ' , ' craps ' , ' crash ' , ' crazy ' , ' cream ' , ' creek ' , ' crest ' , ' crime ' , ' crops ' , ' cross ' , ' crowd ' , ' crown ' , ' crude ' , ' cubic ' , ' curve ' , ' cyber ' , ' cycle ' , ' czech ' , ' daddy ' , ' daily ' , ' dairy ' , ' daisy ' , ' dance ' , ' danny ' , ' dated ' , ' dates ' , ' david ' , ' davis ' , ' deals ' , ' dealt ' , ' death ' , ' debug ' , ' debut ' , ' decor ' , ' delay ' , ' delhi ' , ' delta ' , ' dense ' , ' depot ' , ' depth ' , ' derby ' , ' derek ' , ' devel ' , ' devil ' , ' devon ' , ' diana ' , ' diane ' , ' diary ' , ' dicke ' , ' dicks ' , ' diego ' , ' diffs ' , ' digit ' , ' dildo ' , ' dirty ' , ' disco ' , ' discs ' , ' disks ' , ' dodge ' , ' doing ' , ' dolls ' , ' donna ' , ' donor ' , ' doors ' , ' doubt ' , ' dover ' , ' dozen ' , ' draft ' , ' drain ' , ' rDrama ' , ' drawn ' , ' draws ' , ' dream ' , ' dress ' , ' dried ' , ' drill ' , ' drink ' , ' drive ' , ' drops ' , ' drove ' , ' drugs ' , ' drums ' , ' drunk ' , ' dryer ' , ' dubai ' , ' dutch ' , ' dying ' , ' dylan ' , ' eagle ' , ' early ' , ' earth ' , ' ebony ' , ' ebook ' , ' eddie ' , ' edgar ' , ' edges ' , ' egypt ' , ' eight ' , ' elder ' , ' elect ' , ' elite ' , ' ellen ' , ' ellis ' , ' elvis ' , ' emacs ' , ' email ' , ' emily ' , ' empty ' , ' ended ' , ' endif ' , ' enemy ' , ' enjoy ' , ' enter ' , ' entry ' , ' epson ' , ' equal ' , ' error ' , ' essay ' , ' essex ' , ' euros ' , ' evans ' , ' event ' , ' every ' , ' exact ' , ' exams ' , ' excel ' , ' exist ' , ' extra ' , ' faced ' , ' faces ' , ' facts ' , ' fails ' , ' fairy ' , ' faith ' , ' falls ' , ' false ' , ' fancy ' , ' fares ' , ' farms ' , ' fatal ' , ' fatty ' , ' fault ' , ' favor ' , ' fears ' , ' feeds ' , ' feels ' , ' fence ' , ' ferry ' , ' fever ' , ' fewer ' , ' fiber ' , ' fibre ' , ' field ' , ' fifth ' , ' fifty ' , ' fight ' , ' filed ' , ' files ' , ' filme ' , ' films ' , ' final ' , ' finds ' , ' fired ' , ' fires ' , ' firms ' , ' first ' , ' fixed ' , ' fixes ' , ' flags ' , ' flame ' , ' flash ' , ' fleet ' , ' flesh ' , ' float ' , ' flood ' , ' floor ' , ' flour ' , ' flows ' , ' floyd ' , ' fluid ' , ' flush ' , ' flyer ' , ' focal ' , ' focus ' , ' folks ' , ' fonts ' , ' foods ' , ' force ' , ' forge ' , ' forms ' , ' forth ' , ' forty ' , ' forum ' , ' found ' , ' frame ' , ' frank ' , ' fraud ' , ' fresh ' , ' front ' , ' frost ' , ' fruit ' , ' fully ' , ' funds ' , ' funky ' , ' funny ' , ' fuzzy ' , ' gains ' , ' games ' , ' gamma ' , ' gates ' , ' gauge ' , ' genes ' , ' genre ' , ' ghana ' , ' ghost ' , ' giant ' , ' gifts ' , ' girls ' , ' given ' , ' gives ' , ' glass ' , ' glenn ' , ' globe ' , ' glory ' , ' gnome ' , ' goals ' , ' going ' , ' gonna ' , ' goods ' , ' gotta ' , ' grace ' , ' grade '
christian_emojis = [ ' :#marseyjesus: ' , ' :#marseyimmaculate: ' , ' :#marseymothermary: ' ,
' :#marseyfatherjoseph: ' , ' :#gigachadorthodox: ' , ' :#marseyorthodox: ' , ' :#marseyorthodoxpat: ' ,
' :#marseycrucified: ' , ' :#chadjesus: ' , ' :#marseyandjesus: ' , ' :#marseyjesus2: ' ,
' :#marseyorthodoxsmug: ' , ' :#marseypastor: ' , ' :#marseypope: ' , ]
2022-10-30 18:45:53 +00:00
ADMIGGER_THREADS = { SIDEBAR_THREAD , BANNER_THREAD , BADGE_THREAD , SNAPPY_THREAD }
2022-06-18 15:37:01 +00:00
2022-10-08 00:43:04 +00:00
proxies = { " http " : PROXY_URL , " https " : PROXY_URL }
2022-06-18 15:37:01 +00:00
approved_embed_hosts = {
SITE ,
' rdrama.net ' ,
2022-10-30 18:01:01 +00:00
BAN_EVASION_DOMAIN ,
2022-06-18 15:37:01 +00:00
' pcmemes.net ' ,
2022-10-17 19:13:33 +00:00
' watchpeopledie.tv ' ,
2022-06-18 15:37:01 +00:00
' imgur.com ' ,
' lain.la ' ,
' pngfind.com ' ,
' kym-cdn.com ' ,
' redd.it ' ,
' substack.com ' ,
' blogspot.com ' ,
' catbox.moe ' ,
' pinimg.com ' ,
' kindpng.com ' ,
' shopify.com ' ,
' twimg.com ' ,
' wikimedia.org ' ,
' wp.com ' ,
' wordpress.com ' ,
' seekpng.com ' ,
' dailymail.co.uk ' ,
' cdc.gov ' ,
' media-amazon.com ' ,
' ssl-images-amazon.com ' ,
' washingtonpost.com ' ,
' imgflip.com ' ,
' flickr.com ' ,
' 9cache.com ' ,
' ytimg.com ' ,
' foxnews.com ' ,
' duckduckgo.com ' ,
' forbes.com ' ,
' gr-assets.com ' ,
' tenor.com ' ,
' giphy.com ' ,
' makeagif.com ' ,
' gfycat.com ' ,
' tumblr.com ' ,
' yarn.co ' ,
' gifer.com ' ,
' staticflickr.com ' ,
' kiwifarms.net ' ,
' amazonaws.com ' ,
' githubusercontent.com ' ,
' unilad.co.uk ' ,
' grrrgraphics.com ' ,
' redditmedia.com ' ,
' deviantart.com ' ,
' deviantart.net ' ,
' googleapis.com ' ,
' bing.com ' ,
' typekit.net ' ,
' postimg.cc ' ,
' archive.org ' ,
' substackcdn.com ' ,
' 9gag.com ' ,
' ifunny.co ' ,
2022-09-26 09:02:39 +00:00
' wixmp.com ' ,
' derpicdn.net ' ,
' twibooru.org ' ,
' ponybooru.org ' ,
' e621.net ' ,
' ponerpics.org ' ,
' furaffinity.net '
2022-06-18 15:37:01 +00:00
}
2022-07-02 10:44:05 +00:00
def is_site_url ( url ) :
2022-08-05 16:32:56 +00:00
return url and ' \\ ' not in url and ( ( url . startswith ( ' / ' ) and not url . startswith ( ' // ' ) ) or url . startswith ( f ' { SITE_FULL } / ' ) )
2022-07-02 10:44:05 +00:00
2022-06-18 15:37:01 +00:00
def is_safe_url ( url ) :
2022-07-02 10:44:05 +00:00
return is_site_url ( url ) or tldextract . extract ( url ) . registered_domain in approved_embed_hosts
2022-06-18 15:37:01 +00:00
2022-06-24 15:08:57 +00:00
hosts = " | " . join ( approved_embed_hosts ) . replace ( ' . ' , ' \ . ' )
2022-07-08 16:21:13 +00:00
tiers = {
" (Paypig) " : 1 ,
" (Renthog) " : 2 ,
" (Landchad) " : 3 ,
" (Terminally online turboautist) " : 4 ,
" (Marsey ' s Sugar Daddy) " : 5 ,
" (JIDF Bankroller) " : 6 ,
" (Rich Bich) " : 7 ,
" (LlamaBean) " : 1 ,
2022-08-16 15:26:50 +00:00
" (Victim) " : 1 ,
" (Corpse) " : 2 ,
" (Zombie) " : 3 ,
" (Ghost) " : 4 ,
" (Survivor) " : 5 ,
2022-10-05 22:47:12 +00:00
" (Jigsaw) " : 6 ,
2022-07-08 16:21:13 +00:00
}
2022-07-01 05:55:53 +00:00
has_sidebar = path . exists ( f ' files/templates/sidebar_ { SITE_NAME } .html ' )
has_logo = path . exists ( f ' files/assets/images/ { SITE_NAME } /logo.webp ' )
2022-07-16 18:37:07 +00:00
2022-09-19 18:52:50 +00:00
ONLINE_STR = f ' { SITE } _online '
forced_hats = {
" rehab " : ( " Roulette " , " I ' m a recovering ludomaniac! " ) ,
" progressivestack " : ( " Attention Whore " , " I won the oppression olympics! " ) ,
" longpost " : ( " The Pizzashill " , " We need to get rid of the character limit! " ) ,
" bird " : ( " Bluecheck " , " Three sentences is too much for me... " ) ,
" marseyawarded " : ( " Three Lil Marseys " , " :marseynotes: :marseynotes: :I prefer to speak in cats: " ) ,
" bite " : ( " Vampire Mask " , " When other little girls wanted to be ballet dancers I kind of wanted to be a vampire. " ) ,
" rainbow " : ( " Globohomo " , " Homosexuality is no longer optional! " ) ,
2022-09-20 00:55:25 +00:00
" owoify " : ( " Cat Ears (wiggly) " , " Nuzzles, pounces on you, UwU, you ' re so warm!.. " ) ,
2022-09-19 18:52:50 +00:00
" earlylife " : ( " The Merchant " , " SHUT IT DOWN, the goys know! " ) ,
" marsify " : ( " Marsified " , " I can ' t pick my own Marseys, help! " ) ,
2022-09-23 21:47:32 +00:00
" is_suspended " : ( " Behind Bars " , " This user is banned and needs to do better! " ) ,
2022-09-19 18:52:50 +00:00
" agendaposter " : ( " Egg_irl " , " This user is getting in touch with xir identity! " )
2022-09-29 05:43:29 +00:00
}
2022-10-19 10:39:03 +00:00
EMAIL_REGEX_PATTERN = ' [A-Za-z0-9._ % +-] { 1,64}@[A-Za-z0-9.-] { 2,63} \ .[A-Za-z] { 2,63} '
2022-10-29 22:53:42 +00:00
2022-11-11 09:31:26 +00:00
if SITE_NAME == ' rDrama ' :
BOOSTED_SITES = {
' rdrama.net ' ,
BAN_EVASION_DOMAIN ,
' pcmemes.net ' ,
' watchpeopledie.tv ' ,
' themotte.org ' ,
' quora.com ' ,
' cumtown.org ' ,
' notabug.io ' ,
' talk.lol ' ,
' discussions.app ' ,
' gab.com ' ,
' kiwifarms.net ' ,
' gettr.com ' ,
' scored.co ' ,
' parler.com ' ,
' bitchute.com ' ,
' 4chan.org ' ,
' givesendgo.com ' ,
' thepinkpill.com ' ,
' ovarit.com ' ,
' rdrama.cc ' ,
' lolcow.farm ' ,
' truthsocial.com ' ,
' rumble.com ' ,
' saidit.net ' ,
' kiwifarms.cc ' ,
' 8kun.top ' ,
' goyimtv.tv ' ,
' poal.co ' ,
' stormfront.org ' ,
' arete.network ' ,
' poa.st ' ,
' lbry.com ' ,
' crystal.cafe ' ,
' tribel.com ' ,
' mstdn.social ' ,
' mastodon.online ' ,
' steemit.com ' ,
' hexbear.net ' ,
' raddle.me ' ,
' lemmy.ml ' ,
' bluelight.org ' ,
' incels.is ' ,
' groups.google.com ' ,
' t.me ' ,
' web.telegram.org ' ,
' news.ycombinator.com ' ,
' tigerdroppings.com ' ,
' instagram.com ' ,
' facebook.com ' ,
' twitch.tv ' ,
' tiktok.com ' ,
' vm.tiktok.com ' ,
' github.com ' ,
' boards.4channel.org ' ,
' boards.4chan.org ' ,
' archive.4plebs.org ' ,
' lipstickalley.com ' ,
' resetera.com ' ,
' steamcommunity.com ' ,
' nairaland.com ' ,
' marsey.club ' ,
' odysee.com ' ,
' trp.red ' ,
' forums.red ' ,
' shitposter.club ' ,
' sneed.social ' ,
' seal.cafe ' ,
' lobste.rs ' ,
' stacker.news ' ,
' breitbart.com ' ,
' tattle.life ' ,
2022-11-15 14:26:05 +00:00
' wolfballs.com ' ,
' backloggd.com ' ,
2022-11-19 08:04:24 +00:00
' tildes.net ' ,
2022-11-11 09:31:26 +00:00
}
2022-10-30 14:55:43 +00:00
2022-11-11 09:31:26 +00:00
BOOSTED_HOLES = {
' furry ' ,
' femboy ' ,
' anime ' ,
' gaybros ' ,
' againsthateholes ' ,
' masterbaiters ' ,
' changelog ' ,
}
2022-11-09 19:02:17 +00:00
2022-11-11 09:31:26 +00:00
BOOSTED_USERS = {
IMPASSIONATA_ID ,
PIZZASHILL_ID ,
SNAKES_ID ,
JUSTCOOL_ID ,
2008 , #TransGirlTradWife
}
2022-11-09 20:53:20 +00:00
2022-11-05 21:01:23 +00:00
IMAGE_FORMATS = [ ' png ' , ' gif ' , ' jpg ' , ' jpeg ' , ' webp ' ]
VIDEO_FORMATS = [ ' mp4 ' , ' webm ' , ' mov ' , ' avi ' , ' mkv ' , ' flv ' , ' m4v ' , ' 3gp ' ]
2022-11-19 12:48:42 +00:00
AUDIO_FORMATS = [ ' mp3 ' , ' wav ' , ' ogg ' , ' aac ' , ' m4a ' , ' flac ' ]