Skip to content

Commit

Permalink
feat: GuildForum supports webhook (#1720)
Browse files Browse the repository at this point in the history
Signed-off-by: retr0-init <[email protected]>
  • Loading branch information
retr0-init authored Sep 6, 2024
1 parent 369a291 commit de71f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interactions/models/discord/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -2399,7 +2399,7 @@ async def close_stage(self, reason: Absent[Optional[str]] = MISSING) -> None:


@attrs.define(eq=False, order=False, hash=False, kw_only=True)
class GuildForum(GuildChannel, InvitableMixin):
class GuildForum(GuildChannel, InvitableMixin, WebhookMixin):
available_tags: List[ThreadTag] = attrs.field(repr=False, factory=list)
"""A list of tags available to assign to threads"""
default_reaction_emoji: Optional[DefaultReaction] = attrs.field(repr=False, default=None)
Expand Down

0 comments on commit de71f4c

Please sign in to comment.