[Main] Changed initial message for update.bat, added link to server

This commit is contained in:
Twentysix 2016-09-12 00:22:05 +02:00
parent 6786cc7285
commit f95b7c1fee

5
red.py
View File

@ -383,9 +383,14 @@ def main():
else: else:
owner_cog.owner.hidden = True # Hides the set owner command from help owner_cog.owner.hidden = True # Hides the set owner command from help
print("-- Logging in.. --") print("-- Logging in.. --")
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("Make sure to keep your bot updated by using: git pull")
print("and: pip3 install -U git+https://github.com/Rapptz/" print("and: pip3 install -U git+https://github.com/Rapptz/"
"discord.py@master#egg=discord.py[voice]") "discord.py@master#egg=discord.py[voice]")
print("Official server: https://discord.me/Red-DiscordBot")
if settings.login_type == "token": if settings.login_type == "token":
try: try:
yield from bot.login(settings.email) yield from bot.login(settings.email)