Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- blank_issues_enabled: false
blank_issues_enabled: false
contact_links:
- name: Discord server
url: https://discord.gg/KkgMBVuEkx
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/report-bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion interactions/models/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down