mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[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:
parent
f1fea38712
commit
5afd8174ca
@ -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)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user