From cf4bee00b234b610bcc0c94bab2ea458b445eabd Mon Sep 17 00:00:00 2001 From: Steve C Date: Sun, 8 Mar 2026 03:53:37 -0400 Subject: [PATCH] Fix exception type in docstring for Reaction.clear --- discord/reaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/reaction.py b/discord/reaction.py index 060447e13..eb1783049 100644 --- a/discord/reaction.py +++ b/discord/reaction.py @@ -169,7 +169,7 @@ class Reaction: .. versionadded:: 1.3 .. versionchanged:: 2.0 - This function will now raise :exc:`ValueError` instead of + This function will now raise :exc:`TypeError` instead of ``InvalidArgument``. Raises