Improve startup banner

This commit is contained in:
luukas 2021-11-02 16:08:27 +02:00
parent 13a5304edc
commit dba72ea194

16
main.py
View File

@ -23,14 +23,14 @@ def do_intro():
version = helper.get_version_string() version = helper.get_version_string()
intro = """ intro = f"""
{lines} {'/' * 75}
#\t\tWelcome to Crafty Controller - v.{version}\t\t # #{("Welcome to Crafty Controller - v." + version).center(73, " ")}#
{lines} {'/' * 75}
# \tServer Manager / Web Portal for your Minecraft server \t # #{"Server Manager / Web Portal for your Minecraft server".center(73, " ")}#
# \t\tHomepage: www.craftycontrol.com\t\t\t # #{"Homepage: www.craftycontrol.com".center(73, " ")}#
{lines} {'/' * 75}
""".format(lines="/" * 75, version=version) """
console.magenta(intro) console.magenta(intro)