Browse Source

Fix typo with exception name in InteractionResponse

pull/7160/head
Rapptz 4 years ago
parent
commit
bba4d6c4e4
  1. 8
      discord/interactions.py

8
discord/interactions.py

@ -231,7 +231,7 @@ class InteractionResponse:
------- -------
HTTPException HTTPException
Deferring the interaction failed. Deferring the interaction failed.
InteractionResponsed InteractionResponded
This interaction has already been responded to before. This interaction has already been responded to before.
""" """
if self._responded: if self._responded:
@ -265,7 +265,7 @@ class InteractionResponse:
------- -------
HTTPException HTTPException
Ponging the interaction failed. Ponging the interaction failed.
InteractionResponsed InteractionResponded
This interaction has already been responded to before. This interaction has already been responded to before.
""" """
if self._responded: if self._responded:
@ -320,7 +320,7 @@ class InteractionResponse:
You specified both ``embed`` and ``embeds``. You specified both ``embed`` and ``embeds``.
ValueError ValueError
The length of ``embeds`` was invalid. The length of ``embeds`` was invalid.
InteractionResponsed InteractionResponded
This interaction has already been responded to before. This interaction has already been responded to before.
""" """
if self._responded: if self._responded:
@ -404,7 +404,7 @@ class InteractionResponse:
Editing the message failed. Editing the message failed.
TypeError TypeError
You specified both ``embed`` and ``embeds``. You specified both ``embed`` and ``embeds``.
InteractionResponsed InteractionResponded
This interaction has already been responded to before. This interaction has already been responded to before.
""" """
if self._responded: if self._responded:

Loading…
Cancel
Save