From 26ac844a042d982bd6a6796579a992f635c12490 Mon Sep 17 00:00:00 2001 From: Chrovo <83519535+Chrovo@users.noreply.github.com> Date: Sat, 2 Apr 2022 00:06:39 -0400 Subject: [PATCH] Fix typo in migrating guide for Client.on_error --- docs/migrating.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migrating.rst b/docs/migrating.rst index 35cbf74b0..cfa7c6e29 100644 --- a/docs/migrating.rst +++ b/docs/migrating.rst @@ -961,7 +961,7 @@ Parameters in the following methods are now all positional-only: - :meth:`Client.fetch_webhook` - :meth:`Client.fetch_widget` - :meth:`Message.add_reaction` -- :meth:`Client.error` +- :meth:`Client.on_error` - :meth:`abc.Messageable.fetch_message` - :meth:`abc.GuildChannel.permissions_for` - :meth:`DMChannel.get_partial_message`