From f95b7c1fee506ec988b0ed58432544b74ee31ab9 Mon Sep 17 00:00:00 2001 From: Twentysix Date: Mon, 12 Sep 2016 00:22:05 +0200 Subject: [PATCH] [Main] Changed initial message for update.bat, added link to server --- red.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/red.py b/red.py index cad3c23ef..ba8cb3710 100644 --- a/red.py +++ b/red.py @@ -383,9 +383,14 @@ def main(): else: owner_cog.owner.hidden = True # Hides the set owner command from help print("-- Logging in.. --") - print("Make sure to keep your bot updated by using: git pull") - print("and: pip3 install -U git+https://github.com/Rapptz/" - "discord.py@master#egg=discord.py[voice]") + if os.name == "nt" and os.path.isfile("update.bat"): + print("Make sure to keep your bot updated by running the file " + "update.bat") + else: + print("Make sure to keep your bot updated by using: git pull") + print("and: pip3 install -U git+https://github.com/Rapptz/" + "discord.py@master#egg=discord.py[voice]") + print("Official server: https://discord.me/Red-DiscordBot") if settings.login_type == "token": try: yield from bot.login(settings.email)