[V3 Launcher] update cli flag getter (#1696)

* [V3 Launcher] make some updates to the cli flag selector

* Add the --mentionable flag
This commit is contained in:
palmtree5 2018-05-27 20:06:59 -08:00 committed by Kowlin
parent f1fea38712
commit 5afd8174ca

View File

@ -154,6 +154,11 @@ def cli_flag_getter():
flags = [] flags = []
print("Ok, we will now walk through choosing cli flags") print("Ok, we will now walk through choosing cli flags")
print("Would you like to specify an owner? (y/n)") 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() choice = user_choice()
if choice == "y": if choice == "y":
print("Enter the user id for the owner") print("Enter the user id for the owner")
@ -169,6 +174,10 @@ def cli_flag_getter():
prefixes = user_choice().split() prefixes = user_choice().split()
for p in prefixes: for p in prefixes:
flags.append("-p {}".format(p)) 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( print(
"Would you like to disable console input? Please note that features " "Would you like to disable console input? Please note that features "
"requiring console interaction may fail to work (y/n)" "requiring console interaction may fail to work (y/n)"