Skip to content

Commit f71cc7e

Browse files
authored
fix: Add attachment import in create_forum_post method
1 parent 04adeee commit f71cc7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

interactions/api/models/channel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1704,6 +1704,8 @@ async def create_forum_post(
17041704
if not self._client:
17051705
raise LibraryException(code=13)
17061706

1707+
from .message import Attachment
1708+
17071709
_top_payload: dict = {
17081710
"name": name,
17091711
"reason": reason,

0 commit comments

Comments
 (0)