From 913a3c0a8f12230a78f72fc16c9e596feb634366 Mon Sep 17 00:00:00 2001 From: hedy Date: Mon, 25 Mar 2024 12:39:21 +0800 Subject: 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. --- bot/constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot/constants.py') 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>" -- cgit v1.2.3