File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 15
15
from celery import shared_task
16
16
from celery .utils .log import get_task_logger
17
17
18
- from contestsuite .settings import MEDIA_ROOT , DEFAULT_FROM_EMAIL , BOT_CHANNEL_WEBHOOK_URL
18
+ from contestsuite .settings import MEDIA_ROOT , DEFAULT_FROM_EMAIL
19
19
from contestadmin .models import Contest
20
20
from core .utils import make_random_password
21
21
from manager .models import Course , Faculty , Profile
Original file line number Diff line number Diff line change @@ -272,6 +272,11 @@ def get_secret(key, default=None):
272
272
273
273
CELERY_BEAT_SCHEDULE = {}
274
274
275
+ # Discord
276
+ # https://discordpy.readthedocs.io/en/stable/
277
+
278
+ ANNOUNCEMENT_WEBHOOK_URL = get_secret ('ANNOUNCEMENT_WEBHOOK_URL' , None )
279
+
275
280
276
281
# Hashid Fields
277
282
# https://pypi.org/project/django-hashid-field/
You can’t perform that action at this time.
0 commit comments