Skip to content

Commit 7bf3659

Browse files
committed
Fix title component assignment
1 parent 2af70e2 commit 7bf3659

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

red_githubbot/discord_webhook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def _update_title_component(self) -> None:
225225
self._title_component.content = ""
226226
return
227227
text = f"[{self._title}]({self._url})" if self._url else self._title
228-
self._title_component = f"### {text}"
228+
self._title_component.content = f"### {text}"
229229

230230
@property
231231
def title(self) -> str:

0 commit comments

Comments
 (0)