Changed the string formatter from % to f"",
Fixed a bug related to logging [log dir does not exist on master, and needs to get created on first startup] Added !prefadmin <user> to view preferences of players, and change them Orgrank & name will be hidden in !alts, if the character is not in an org Page prefix & suffix are now being relayed [for example, it affects !online Fixed !perks Added comments regarding external API's.
This commit is contained in:
@@ -18,8 +18,13 @@ name = "bot"
|
||||
# So we're saving the logs into ./logs/##bot_name##/
|
||||
if len(sys.argv) > 1:
|
||||
name = sys.argv[1]
|
||||
|
||||
try:
|
||||
os.mkdir(f"./logs/{name}")
|
||||
os.mkdir(f"./logs", mode=4600)
|
||||
except FileExistsError as error:
|
||||
pass
|
||||
try:
|
||||
os.mkdir(f"./logs/{name}", mode=4600)
|
||||
except FileExistsError as error:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user