diff --git a/files/helpers/config/const.py b/files/helpers/config/const.py index bf51c1494..bf683545d 100644 --- a/files/helpers/config/const.py +++ b/files/helpers/config/const.py @@ -248,7 +248,6 @@ FEATURES = { 'HAT_SUBMISSIONS': True, 'NSFW_MARKING': True, 'PING_GROUPS': True, - 'BOTS': True, 'IP_LOGGING': False, 'BLOCK_MUTE_EXILE_EXPIRY': False, } diff --git a/files/routes/__init__.py b/files/routes/__init__.py index 9176d6322..e2e43b170 100644 --- a/files/routes/__init__.py +++ b/files/routes/__init__.py @@ -24,7 +24,7 @@ from .reporting import * from .front import * from .login import * from .mail import * -if FEATURES['BOTS']: +if get_setting('bots') : from .oauth import * from .posts import * from .search import * diff --git a/files/templates/settings/settings.html b/files/templates/settings/settings.html index b26e15b74..4e5b6bab3 100644 --- a/files/templates/settings/settings.html +++ b/files/templates/settings/settings.html @@ -21,7 +21,7 @@ - {% if FEATURES["BOTS"] %} + {% if get_setting('bots') and SITE_NAME != 'WPD' %} {% endif %}