From 7ca90874b94d30c396268c17b9583018ed3f80bd Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 3 Jul 2021 00:30:32 -0400 Subject: Raise an exception if an interaction has been responded before Fix #7153 --- docs/api.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/api.rst b/docs/api.rst index 392adc42..83dbca4e 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -3862,6 +3862,8 @@ The following exceptions are thrown by the library. .. autoexception:: PrivilegedIntentsRequired +.. autoexception:: InteractionResponded + .. autoexception:: discord.opus.OpusError .. autoexception:: discord.opus.OpusNotLoaded @@ -3879,6 +3881,7 @@ Exception Hierarchy - :exc:`LoginFailure` - :exc:`ConnectionClosed` - :exc:`PrivilegedIntentsRequired` + - :exc:`InteractionResponded` - :exc:`NoMoreItems` - :exc:`GatewayNotFound` - :exc:`HTTPException` -- cgit v1.2.3