From 628fd6611ac111ddf73888447cfe04ecd551a372 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 7 Jan 2022 19:04:53 +0100 Subject: [PATCH] added another notification if auto role is enabled --- src/js/challenge-controller.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/js/challenge-controller.js b/src/js/challenge-controller.js index bf1297927..d74be267f 100644 --- a/src/js/challenge-controller.js +++ b/src/js/challenge-controller.js @@ -114,6 +114,13 @@ export function verify(result) { } } if (requirementsMet) { + if (active.autoRole) { + Notifications.add( + "You will receive a role shortly. Please don't post a screenshot in challenge submissions.", + 1, + 5 + ); + } Notifications.add(`${active.display} challenge passed!`, 1); return active.name; } else {