diff options
| -rw-r--r-- | pydis_site/apps/api/views.py | 5 | ||||
| -rw-r--r-- | pydis_site/settings.py | 8 | 
2 files changed, 11 insertions, 2 deletions
| diff --git a/pydis_site/apps/api/views.py b/pydis_site/apps/api/views.py index 7ac56641..0d126051 100644 --- a/pydis_site/apps/api/views.py +++ b/pydis_site/apps/api/views.py @@ -135,8 +135,9 @@ class RulesView(APIView):              ),              (                  "Do not provide or request help on projects that may break laws, " -                "breach terms of services, be considered malicious/inappropriate " -                "or be for graded coursework/exams." +                "breach terms of services, be considered malicious or inappropriate. " +                "Do not help with ongoing exams. Do not provide or request solutions " +                "for graded assignments, although general guidance is okay."              ),              (                  "No spamming or unapproved advertising, including requests for paid work. " diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 1f042c1b..3769fa25 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -401,3 +401,11 @@ ACCOUNT_USERNAME_VALIDATORS = "pydis_site.VALIDATORS"  LOGIN_REDIRECT_URL = "home"  SOCIALACCOUNT_ADAPTER = "pydis_site.utils.account.SocialAccountAdapter" +SOCIALACCOUNT_PROVIDERS = { +    "discord": { +        "SCOPE": [ +            "identify", +        ], +        "AUTH_PARAMS": {"prompt": "none"} +    } +} | 
