mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -05:00
[Launcher] To make experience with launcher amazing /s (#3175)
* Update launcher.py * Create 3174.bugfix.rst * Revert launcher.py * Update launcher.py * Update launcher.py
This commit is contained in:
@@ -201,7 +201,12 @@ def cli_flag_getter():
|
||||
choice = user_choice()
|
||||
if choice == "y":
|
||||
print("Done selecting cli flags")
|
||||
return flags
|
||||
# this is safe only because arguments like prefix and owner id can't have spaces
|
||||
cli_flags = []
|
||||
for flag_with_spaces in flags:
|
||||
for flag in flag_with_spaces.split():
|
||||
cli_flags.append(flag)
|
||||
return cli_flags
|
||||
else:
|
||||
print("Starting over")
|
||||
return cli_flag_getter()
|
||||
|
||||
Reference in New Issue
Block a user