From 6e65c15697ee63c53755dad3a3353aae8eae7140 Mon Sep 17 00:00:00 2001 From: DeltaXWizard <33706469+deltaxwizard@users.noreply.github.com> Date: Fri, 18 Feb 2022 13:59:57 -0500 Subject: [PATCH 1/3] fix: Fix _json parsing for non-existent Emoji arguments --- interactions/models/component.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interactions/models/component.py b/interactions/models/component.py index 7ca4d7b08..8a218d223 100644 --- a/interactions/models/component.py +++ b/interactions/models/component.py @@ -40,7 +40,8 @@ def __init__(self, **kwargs): if self._json.get("emoji") else None ) - self._json.update({"emoji": self.emoji._json}) + if self.emoji: + self._json.update({"emoji": self.emoji._json}) class SelectMenu(DictSerializerMixin): From 2f289d098574a22e99590143e33ed28922ee9733 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 18 Feb 2022 19:04:38 +0000 Subject: [PATCH 2/3] ci: correct from checks. --- .github/ISSUE_TEMPLATE/report-bug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/report-bug.yml b/.github/ISSUE_TEMPLATE/report-bug.yml index c99440fa5..d4ed3cafd 100644 --- a/.github/ISSUE_TEMPLATE/report-bug.yml +++ b/.github/ISSUE_TEMPLATE/report-bug.yml @@ -31,7 +31,7 @@ body: 1. Import the module in Python. 2. Create a client variable for the library. 3. Try creating a slash command. - 4. See the traceback error given in the terminal or logger file. + 4. See the traceback error given in the terminal or logger file. validations: required: true - type: textarea From e45626877d1c82109f4f9e3341ca6f5fb0364561 Mon Sep 17 00:00:00 2001 From: DeltaXWizard <33706469+deltaxwizard@users.noreply.github.com> Date: Fri, 18 Feb 2022 14:43:13 -0500 Subject: [PATCH 3/3] chore: Fix config.yml formatting. --- .github/ISSUE_TEMPLATE/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 7b05d415a..58eca734e 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -- blank_issues_enabled: false +blank_issues_enabled: false contact_links: - name: Discord server url: https://discord.gg/KkgMBVuEkx