forked from rDrama/rDrama
1
0
Fork 0

add SCHIZO_ID

master
Aevann 2023-05-04 19:24:22 +03:00
parent e145c90f7f
commit b350a152bc
2 changed files with 7 additions and 5 deletions

View File

@ -657,6 +657,7 @@ JUSTCOOL_ID = 0
LAWLZ_ID = 0 LAWLZ_ID = 0
TGTW_ID = 0 TGTW_ID = 0
IDIO_ID = 0 IDIO_ID = 0
SCHIZO_ID = 0
SNALLY_ID = 0 SNALLY_ID = 0
IMMUNE_TO_AWARDS = {} IMMUNE_TO_AWARDS = {}
@ -759,6 +760,7 @@ if SITE == 'rdrama.net':
LAWLZ_ID = 3833 LAWLZ_ID = 3833
TGTW_ID = 2008 TGTW_ID = 2008
IDIO_ID = 30 IDIO_ID = 30
SCHIZO_ID = 8494
SNALLY_ID = 3336 SNALLY_ID = 3336
IMMUNE_TO_AWARDS = {PIZZASHILL_ID, CARP_ID} IMMUNE_TO_AWARDS = {PIZZASHILL_ID, CARP_ID}
@ -780,12 +782,13 @@ if SITE == 'rdrama.net':
'transgirltradwife': TGTW_ID, 'transgirltradwife': TGTW_ID,
'impassionata': IMPASSIONATA_ID, 'impassionata': IMPASSIONATA_ID,
'pizzashill': PIZZASHILL_ID, 'pizzashill': PIZZASHILL_ID,
'joan': 28,
'pewkie': 28,
'idio3': IDIO_ID, 'idio3': IDIO_ID,
'idio ': IDIO_ID, 'idio ': IDIO_ID,
'telegram ': IDIO_ID, 'telegram ': IDIO_ID,
'schizo': SCHIZO_ID,
'joan': 28,
'pewkie': 28,
'homocracy': 147, 'homocracy': 147,
'donger': 541, 'donger': 541,
'geese': 1710, 'geese': 1710,
@ -796,7 +799,6 @@ if SITE == 'rdrama.net':
'jollymoon': 3635, 'jollymoon': 3635,
'chiobu': 5214, 'chiobu': 5214,
'mccox': 8239, 'mccox': 8239,
'schizo': 8494,
'august': 1830, 'august': 1830,
'marco': 152, 'marco': 152,
} }

View File

@ -165,7 +165,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls):
mul = PROGSTACK_MUL mul = PROGSTACK_MUL
elif cls == Submission and (any(i in target.title.lower() for i in ENCOURAGED) or any(i in target.url.lower() for i in ENCOURAGED2)): elif cls == Submission and (any(i in target.title.lower() for i in ENCOURAGED) or any(i in target.url.lower() for i in ENCOURAGED2)):
mul = PROGSTACK_MUL mul = PROGSTACK_MUL
elif target.author.progressivestack or (target.author.admin_level and target.author.id not in {AEVANN_ID, CARP_ID, 8494}): elif target.author.progressivestack or (target.author.admin_level and target.author.id not in {AEVANN_ID, CARP_ID, SCHIZO_ID}):
mul = 2 mul = 2
elif SITE == 'rdrama.net' and cls == Submission: elif SITE == 'rdrama.net' and cls == Submission:
if (target.domain.endswith('.win') or 'forum' in target.domain or 'chan' in target.domain if (target.domain.endswith('.win') or 'forum' in target.domain or 'chan' in target.domain