aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-07-03 08:49:07 -0400
committerRapptz <[email protected]>2021-07-03 08:49:07 -0400
commitbba4d6c4e4df418ba98d46a95c3f472a67a042b6 (patch)
tree70e5d725ea60834d24815b28d11b07b0b44b2684
parentMention the discord.ui types in the read-only component types (diff)
downloaddiscord.py-bba4d6c4e4df418ba98d46a95c3f472a67a042b6.tar.xz
discord.py-bba4d6c4e4df418ba98d46a95c3f472a67a042b6.zip
Fix typo with exception name in InteractionResponse
-rw-r--r--discord/interactions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/discord/interactions.py b/discord/interactions.py
index 6dfa379f..3e9bbce6 100644
--- a/discord/interactions.py
+++ b/discord/interactions.py
@@ -231,7 +231,7 @@ class InteractionResponse:
-------
HTTPException
Deferring the interaction failed.
- InteractionResponsed
+ InteractionResponded
This interaction has already been responded to before.
"""
if self._responded:
@@ -265,7 +265,7 @@ class InteractionResponse:
-------
HTTPException
Ponging the interaction failed.
- InteractionResponsed
+ InteractionResponded
This interaction has already been responded to before.
"""
if self._responded:
@@ -320,7 +320,7 @@ class InteractionResponse:
You specified both ``embed`` and ``embeds``.
ValueError
The length of ``embeds`` was invalid.
- InteractionResponsed
+ InteractionResponded
This interaction has already been responded to before.
"""
if self._responded:
@@ -404,7 +404,7 @@ class InteractionResponse:
Editing the message failed.
TypeError
You specified both ``embed`` and ``embeds``.
- InteractionResponsed
+ InteractionResponded
This interaction has already been responded to before.
"""
if self._responded: