Traceback (most recent call last):
File "/home/simonizor/.local/lib/python3.5/site-packages/discord/client.py", line 307, in _run_event
yield from getattr(self, event)(*args, **kwargs)
File "bot.py", line 75, in on_ready
await decayWarn();
File "bot.py", line 18, in decayWarn
with open(dataFile, 'r', encoding='utf8') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/warns/warns.dat'
False
Ignoring exception in command warn
Traceback (most recent call last):
File "/home/simonizor/.local/lib/python3.5/site-packages/discord/ext/commands/core.py", line 50, in wrapped
ret = yield from coro(*args, **kwargs)
File "/home/simonizor/sudoBot/cogs/mod.py", line 195, in warn
async with open(dataFile, 'w', encoding='utf8') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/warns/warns.dat'