mirror of
https://github.com/simon987/Discord-Channel-scraper.git
synced 2025-04-10 14:16:48 +00:00
Added requirements.txt
This commit is contained in:
parent
433aa66a10
commit
5a6e36daf4
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
discord.py
|
@ -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))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user