added logs folder maker
This commit is contained in:
parent
4425afff8d
commit
31b2cef99f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ intents.message_content = True
|
||||||
bot = commands.Bot(command_prefix='!', intents=intents)
|
bot = commands.Bot(command_prefix='!', intents=intents)
|
||||||
|
|
||||||
async def folder_setup():
|
async def folder_setup():
|
||||||
folder_names = ["tmp", "extensions", "data"]
|
folder_names = ["tmp", "extensions", "data", "logs"]
|
||||||
for folder_name in folder_names:
|
for folder_name in folder_names:
|
||||||
if not os.path.exists(folder_name):
|
if not os.path.exists(folder_name):
|
||||||
os.mkdir(folder_name)
|
os.mkdir(folder_name)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue