From cc37672cbf6c73f37f9bceee17570f2ff1b64904 Mon Sep 17 00:00:00 2001 From: Khazhismel Date: Tue, 12 Jan 2016 14:00:36 -0500 Subject: [PATCH] Warn that async is looming --- discord/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/discord/__init__.py b/discord/__init__.py index 91c59b9d4..c3ee01fc5 100644 --- a/discord/__init__.py +++ b/discord/__init__.py @@ -34,6 +34,16 @@ from .object import Object from . import utils import logging +import warnings + + +warnings.warn( +""" +The next version of discord.py(v0.10.0) will have major breaking changes +that will require updating/changing your code. +http://discordpy.readthedocs.org/en/latest/migrating.html +It is stongly recommended to make the switch as soon as possible. +""", Warning) try: from logging import NullHandler