mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Update __init__.py (#3700)
This commit is contained in:
parent
a4ce2d01ce
commit
a738736d6b
@ -215,9 +215,11 @@ if "--debug" not in _sys.argv:
|
|||||||
_warnings.filterwarnings("ignore", category=DeprecationWarning, module="aiohttp", lineno=21)
|
_warnings.filterwarnings("ignore", category=DeprecationWarning, module="aiohttp", lineno=21)
|
||||||
# DeprecationWarning: rename klass to create_protocol
|
# DeprecationWarning: rename klass to create_protocol
|
||||||
# warnings.warn("rename klass to create_protocol", DeprecationWarning)
|
# warnings.warn("rename klass to create_protocol", DeprecationWarning)
|
||||||
#
|
|
||||||
# discord.py is using deprecated kwarg name when making websockets connection
|
|
||||||
# https://github.com/Rapptz/discord.py/issues/2574
|
|
||||||
_warnings.filterwarnings(
|
_warnings.filterwarnings(
|
||||||
"ignore", category=DeprecationWarning, module="websockets", lineno=407
|
"ignore", category=DeprecationWarning, module="websockets", lineno=407
|
||||||
)
|
)
|
||||||
|
# DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
|
||||||
|
# transport, protocol = await self._create_connection()
|
||||||
|
_warnings.filterwarnings(
|
||||||
|
"ignore", category=DeprecationWarning, module="websockets", lineno=535
|
||||||
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user