Browse Source
Update migration guide with loop-related changes to Client's constructor
pull/7741/head
jack1142
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
docs/migrating.rst
|
|
@ -110,6 +110,8 @@ Quick example: |
|
|
|
client = MyClient() |
|
|
|
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, |
|
|
|
see :ref:`migrating_2_0_commands_extension_cog_async` for more information. |
|
|
|
|
|
|
|