Update migration guide with loop-related changes to Client's constructor

This commit is contained in:
jack1142 2022-03-21 06:12:20 +01:00 committed by GitHub
parent cf2707b2fb
commit 5202956f97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,8 @@ Quick example:
client = MyClient() client = MyClient()
client.run(TOKEN) client.run(TOKEN)
With this change, constructor of :class:`Client` no longer accepts ``connector`` and ``loop`` parameters.
In parallel with this change, changes were made to loading and unloading of commands extension extensions and cogs, In parallel with this change, changes were made to loading and unloading of commands extension extensions and cogs,
see :ref:`migrating_2_0_commands_extension_cog_async` for more information. see :ref:`migrating_2_0_commands_extension_cog_async` for more information.