Skip to content

Commit

Permalink
feat: add review colors
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Oct 28, 2024
1 parent 8d8cb36 commit 5e5ec6b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions cogs/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ class SubmissionStatus(Enum):
UNDER_REVIEW = 0
REJECTED = 1
ACCEPTED = 2
MARKED = 3
MARKED_ORANGE = 4
MARKED_YELLOW = 5
MARKED_BLUE = 3
MARKED_PURPLE = 6


CHANNEL_ID = 888320631890931732
Expand All @@ -21,14 +24,20 @@ class SubmissionStatus(Enum):
SubmissionStatus.UNDER_REVIEW.value: None,
SubmissionStatus.REJECTED.value: discord.Color.red(),
SubmissionStatus.ACCEPTED.value: discord.Color.green(),
SubmissionStatus.MARKED.value: discord.Color.blurple(),
SubmissionStatus.MARKED_ORANGE.value: discord.Color.orange(),
SubmissionStatus.MARKED_YELLOW.value: discord.Color.yellow(),
SubmissionStatus.MARKED_BLUE.value: discord.Color.blue(),
SubmissionStatus.MARKED_PURPLE.value: discord.Color.purple(),
}

TEXT = {
SubmissionStatus.UNDER_REVIEW.value: "New Form Submission",
SubmissionStatus.REJECTED.value: "Rejected",
SubmissionStatus.ACCEPTED.value: "Accepted",
SubmissionStatus.MARKED.value: "Marked for Review",
SubmissionStatus.MARKED_ORANGE.value: "Marked for Review (Orange)",
SubmissionStatus.MARKED_YELLOW.value: "Marked for Review (Yellow)",
SubmissionStatus.MARKED_BLUE.value: "Marked for Review (Blue)",
SubmissionStatus.MARKED_PURPLE.value: "Marked for Review (Purple)",
}


Expand Down

0 comments on commit 5e5ec6b

Please sign in to comment.