Change config.yaml -> file_path variable
This commit is contained in:
parent
6fdfba09b2
commit
3f23ef4edf
@ -105,7 +105,7 @@ def load_config():
|
|||||||
|
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
# Create a new config.yaml file with the template
|
# Create a new config.yaml file with the template
|
||||||
with open("config.yaml", "w") as f:
|
with open(file_path, "w") as f:
|
||||||
f.write(
|
f.write(
|
||||||
"""
|
"""
|
||||||
bot_info:
|
bot_info:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user