Skip to content

Commit 5b2f35a

Browse files
authored
fix for PartialMessageable TypeError in ext.pages (#1116)
1 parent 7cb6a65 commit 5b2f35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/ext/pages/pagination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ async def respond(
738738
ephemeral=ephemeral,
739739
)
740740
# convert from WebhookMessage to Message reference to bypass 15min webhook token timeout
741-
msg = msg.channel.get_partial_message(msg.id) or await msg.channel.fetch_message(msg.id)
741+
msg = await msg.channel.fetch_message(msg.id)
742742
else:
743743
msg = await interaction.response.send_message(
744744
content=page if isinstance(page, str) else None,

0 commit comments

Comments
 (0)