mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Update migration guide with loop-related changes to Client's constructor
This commit is contained in:
parent
cf2707b2fb
commit
5202956f97
@ -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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user