Add utils.setup_logging to help set up logging outside of Client.run

This commit is contained in:
Rapptz
2022-08-17 22:13:01 -04:00
parent 1c7747fe9d
commit 2bf2bfc9b4
5 changed files with 139 additions and 89 deletions

View File

@@ -1370,6 +1370,8 @@ Utility Functions
.. autofunction:: discord.utils.get
.. autofunction:: discord.utils.setup_logging
.. autofunction:: discord.utils.snowflake_time
.. autofunction:: discord.utils.time_snowflake