Browse Source

Update docs/faq.rst

Co-authored-by: Danny <[email protected]>
pull/10110/head
Soheab 1 month ago
committed by GitHub
parent
commit
28f14039d9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      docs/faq.rst

4
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

Loading…
Cancel
Save