From 28f14039d9c6b9033526196ebd0f3342e5c70338 Mon Sep 17 00:00:00 2001 From: Soheab <33902984+Soheab@users.noreply.github.com> Date: Mon, 24 Feb 2025 11:19:28 +0100 Subject: [PATCH] Update docs/faq.rst Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com> --- docs/faq.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/faq.rst b/docs/faq.rst index 1573478ca..16d03362a 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -481,8 +481,8 @@ Putting it all together, using the previous view definition: # Step 1 resource = callback.resource - # making sure it's a message - if isinstance(resource, discord.Message): + # making sure it's an interaction response message + if isinstance(resource, discord.InteractionMessage): view.message = resource