Skip to content

Commit

Permalink
service, discord verification: show warning for new students in FS
Browse files Browse the repository at this point in the history
  • Loading branch information
dxstiny committed Jan 5, 2025
1 parent b1c53e9 commit 0172cd3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion service/integration/discord/verifying_student.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ def _generic_validation_error_message() -> str:
Please try again or contact a STAIR member.
"""
# current month is july - september or december - february
if 7 <= datetime.now().month <= 9 or 12 <= datetime.now().month <= 2:
if (
7 <= datetime.now().month <= 9
or 12 <= datetime.now().month
or datetime.now().month <= 2
):
base += """
If you are a new student, please try again after the first week of the semester.
"""
Expand Down

0 comments on commit 0172cd3

Please sign in to comment.