LuckPerms / clippy

A (very) helpful office assistant for the LuckPerms Discord.
https://discord.gg/luckperms
MIT License
11 stars 23 forks source link

Create logs folder if not present. #52

Closed benwoo1110 closed 3 years ago

benwoo1110 commented 3 years ago

Got this errors while testing the bot for the first time, realised its due to the logs folder not being created.

[Error: ENOENT: no such file or directory, open 'C:\Users\Ben10\Documents\GitHub\clippy\logs\2021-03-30.log'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Users\\Ben10\\Documents\\GitHub\\clippy\\logs\\2021-03-30.log'
}
lucko commented 3 years ago

Thanks!

Turbotailz commented 3 years ago

Lol I have a branch where I fixed this, I really need to push it. Ty Ben

benwoo1110 commented 3 years ago

haha np!