Skip to content

Commit

Permalink
SyncWebhookMessage does not need ForumChannel thread apparently??
Browse files Browse the repository at this point in the history
Signed-off-by: CommandLine <[email protected]>
  • Loading branch information
Def-Try authored Jan 15, 2024
1 parent 3427d5c commit 72fa1c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions discord/webhook/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,6 @@ def __init__(
self._thread = Object(thread_id)
elif isinstance(self.channel, Thread):
self._thread = Object(self.channel.id)
elif isinstance(self.channel, ForumChannel):
self._thread = Object(self.id)

def edit(
self,
Expand Down

0 comments on commit 72fa1c3

Please sign in to comment.