mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-28 19:08:32 +08:00
added another notification if auto role is enabled
This commit is contained in:
parent
771841a2a0
commit
628fd6611a
1 changed files with 7 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue