mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 01:12:33 -05:00
6
main.py
6
main.py
@@ -18,6 +18,12 @@ import sys
|
|||||||
# Made by Twentysix, improved by many
|
# 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):
|
def init_loggers(cli_flags):
|
||||||
dpy_logger = logging.getLogger("discord")
|
dpy_logger = logging.getLogger("discord")
|
||||||
|
|||||||
Reference in New Issue
Block a user