From 5afd8174caf17ddbbbc738ae4d721d9bc10346cf Mon Sep 17 00:00:00 2001 From: palmtree5 <3577255+palmtree5@users.noreply.github.com> Date: Sun, 27 May 2018 20:06:59 -0800 Subject: [PATCH] [V3 Launcher] update cli flag getter (#1696) * [V3 Launcher] make some updates to the cli flag selector * Add the --mentionable flag --- redbot/launcher.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/redbot/launcher.py b/redbot/launcher.py index de463016c..795491ee0 100644 --- a/redbot/launcher.py +++ b/redbot/launcher.py @@ -154,6 +154,11 @@ def cli_flag_getter(): flags = [] print("Ok, we will now walk through choosing cli flags") print("Would you like to specify an owner? (y/n)") + print( + "Please note that the owner is normally determined automatically from " + "the bot's token, so you should only use that if you want to specify a " + "user other than that one as the owner." + ) choice = user_choice() if choice == "y": print("Enter the user id for the owner") @@ -169,6 +174,10 @@ def cli_flag_getter(): prefixes = user_choice().split() for p in prefixes: flags.append("-p {}".format(p)) + print("Would you like mentioning the bot to be a prefix? (y/n)") + choice = user_choice() + if choice == "y": + flags.append("--mentionable") print( "Would you like to disable console input? Please note that features " "requiring console interaction may fail to work (y/n)"