Skip to content

Commit 61b3968

Browse files
committed
feat: define colors for embed based on each status
1 parent a5c7dc1 commit 61b3968

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/constants.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { Status } from '@prisma/client'
2+
3+
export const statusColor = {
4+
[Status.REPORTED]: 0xed4245,
5+
[Status.RESOLVED]: 0x57f287,
6+
[Status.CLOSED]: 0x2c2f33,
7+
}

0 commit comments

Comments
 (0)