[Core] Check for correct discord.py version at boot (#799)

Fixes #798
This commit is contained in:
Will 2017-06-09 13:22:36 -04:00 committed by Twentysix
parent c5ab97ce0d
commit 68bc6e3325

View File

@ -18,6 +18,12 @@ import sys
# Made by Twentysix, improved by many
#
if discord.version_info.major < 1:
print("You are not running the rewritten version of discord.py.\n\n"
"In order to use Red v3 you MUST be running d.py version"
" >= 1.0.0.")
sys.exit(1)
def init_loggers(cli_flags):
dpy_logger = logging.getLogger("discord")