aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-03-25 12:39:21 +0800
committerGravatar hedy <[email protected]>2024-03-25 15:18:43 +0800
commit913a3c0a8f12230a78f72fc16c9e596feb634366 (patch)
treefb60cd4a614ec2b37454ca6700559c66c84cd22a /bot/constants.py
parentRemoved inactive users from `CODEOWNERS` (#1485) (diff)
Support issues closed as not-planned in GitHub Issue linking
- Issue closed emoji is renamed to `issue_completed` to better reflect the `state_reason` key provided by the GitHub API that determines the usage of this emoji.
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 492ac918..707f99d2 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -166,7 +166,8 @@ class Emojis:
# These icons are from Github's repo https://github.com/primer/octicons/
issue_open = "<:IssueOpen:852596024777506817>"
- issue_closed = "<:IssueClosed:927326162861039626>"
+ issue_completed = "<:IssueClosed:927326162861039626>"
+ issue_not_planned = "<:IssueNotPlanned:1221642127595929610>"
issue_draft = "<:IssueDraft:852596025147523102>" # Not currently used by Github, but here for future.
pull_request_open = "<:PROpen:852596471505223781>"
pull_request_closed = "<:PRClosed:852596024732286976>"