Added requirements.txt

This commit is contained in:
Simon 2018-12-01 11:07:13 -05:00
parent 433aa66a10
commit 5a6e36daf4
2 changed files with 3 additions and 2 deletions

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
discord.py

View File

@ -73,11 +73,11 @@ async def get_logs(channel):
except:
continue
if not args.quiet:
await client.send_message(channel,'The messages for this channel have been saved.')
await client.send_message(channel, 'The messages for this channel have been saved.')
log.info("Messages for channel {0} finished downloading".format(channel.name))
except Exception as e:
if not args.quiet:
await client.send_message(channel,'Failed saving logs: {}'.format(e.message))
await client.send_message(channel, 'Failed saving logs: {}'.format(e.message))
log.error("Error while downloading channel {0}: {1}".format(channel.name, e.message))