forked from MarseyWorld/MarseyWorld
LGB: disable wordle.
parent
f418bf4333
commit
4723332e07
|
@ -153,6 +153,7 @@ FEATURES = {
|
||||||
'BADGES': True,
|
'BADGES': True,
|
||||||
'HOUSES': False,
|
'HOUSES': False,
|
||||||
'GAMBLING': True,
|
'GAMBLING': True,
|
||||||
|
'WORDLE': True,
|
||||||
'USERS_PROFILE_BANNER': True,
|
'USERS_PROFILE_BANNER': True,
|
||||||
'USERS_PROFILE_BODYTEXT': True,
|
'USERS_PROFILE_BODYTEXT': True,
|
||||||
'USERS_PROFILE_SONG': True,
|
'USERS_PROFILE_SONG': True,
|
||||||
|
@ -338,6 +339,7 @@ elif SITE == 'lgbdropthet.com':
|
||||||
FEATURES['COUNTRY_CLUB'] = False
|
FEATURES['COUNTRY_CLUB'] = False
|
||||||
FEATURES['BADGES'] = False
|
FEATURES['BADGES'] = False
|
||||||
FEATURES['GAMBLING'] = False
|
FEATURES['GAMBLING'] = False
|
||||||
|
FEATURES['WORDLE'] = False
|
||||||
FEATURES['USERS_PROFILE_BANNER'] = False
|
FEATURES['USERS_PROFILE_BANNER'] = False
|
||||||
FEATURES['USERS_PROFILE_BODYTEXT'] = False
|
FEATURES['USERS_PROFILE_BODYTEXT'] = False
|
||||||
FEATURES['USERS_PROFILE_SONG'] = False
|
FEATURES['USERS_PROFILE_SONG'] = False
|
||||||
|
|
|
@ -614,7 +614,7 @@ def api_comment(v):
|
||||||
|
|
||||||
check_for_treasure(body, c)
|
check_for_treasure(body, c)
|
||||||
|
|
||||||
if "!wordle" in body:
|
if FEATURES['WORDLE'] and "!wordle" in body:
|
||||||
answer = random.choice(WORDLE_LIST)
|
answer = random.choice(WORDLE_LIST)
|
||||||
c.wordle_result = f'_active_{answer}'
|
c.wordle_result = f'_active_{answer}'
|
||||||
|
|
||||||
|
|
|
@ -628,10 +628,12 @@ line breaks
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr>
|
{% if FEATURES['WORDLE'] %}
|
||||||
<td>!wordle</td>
|
<tr>
|
||||||
<td>Play wordle</td>
|
<td>!wordle</td>
|
||||||
</tr>
|
<td>Play wordle</td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue