mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-09 04:38:55 -05:00
Hotfix
Also, added --no-prompt command line option in last commit. When started with it, Red will ignore new modules. Useful when it's hosted on servers.
This commit is contained in:
parent
dc0bf207b8
commit
8ef6853f28
2
red.py
2
red.py
@ -272,7 +272,7 @@ def check_configs():
|
|||||||
print("\nChoose a prefix (or multiple ones, one at once) for the commands. Type exit when you're done. Example prefix: !")
|
print("\nChoose a prefix (or multiple ones, one at once) for the commands. Type exit when you're done. Example prefix: !")
|
||||||
settings["PREFIXES"] = []
|
settings["PREFIXES"] = []
|
||||||
new_prefix = ""
|
new_prefix = ""
|
||||||
while new_prefix.lower() != "exit" and settings["PREFIXES"] != []:
|
while new_prefix.lower() != "exit" or settings["PREFIXES"] == []:
|
||||||
new_prefix = input("Prefix> ")
|
new_prefix = input("Prefix> ")
|
||||||
if new_prefix.lower() != "exit" and new_prefix != "":
|
if new_prefix.lower() != "exit" and new_prefix != "":
|
||||||
settings["PREFIXES"].append(new_prefix)
|
settings["PREFIXES"].append(new_prefix)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user