Skip to content

Commit 13c6037

Browse files
authored
Update guild.py
Signed-off-by: Lumabots <[email protected]>
1 parent e717f67 commit 13c6037

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

discord/guild.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,8 @@ async def create_forum_channel(
16511651
)
16521652

16531653
options["default_reaction_emoji"] = (
1654-
default_reaction_emoji._to_forum_reaction_payload()
1654+
default_reaction_emoji._to_forum_reaction_payload() if default_reaction_emoji
1655+
else None
16551656
)
16561657

16571658
data = await self._create_channel(

0 commit comments

Comments
 (0)