Red-DiscordBot/redbot/__init__.py
Toby Harradine 83a0459b6a [V3] Remove all mentions of Python 3.5 (#1896)
We don't speak of him any more.
2018-07-12 02:23:18 +02:00

15 lines
348 B
Python

import sys
import discord
from colorama import init, Back
init()
# Let's do all the dumb version checking in one place.
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)