Tidying up (#5)
* Update delete.py * Update mirror.py * Update README.md
This commit is contained in:
parent
6a296bf0de
commit
195c04112a
|
|
@ -89,7 +89,4 @@ machine host login username password my_youtube_password
|
|||
where host is the name of extractor (eg. youtube, twitch). Multiple accounts of different hosts can be added each separated by a new line
|
||||
|
||||
## Credits
|
||||
- [Izzy12](https://github.com/lzzy12)
|
||||
- [Dank-del](https://github.com/Dank-del)
|
||||
- [magneto261290](https://github.com/magneto261290)
|
||||
- [everyone](https://github.com/breakdowns/slam-mirrorbot/graphs/contributors)
|
||||
Huge thanks to [everyone](https://github.com/breakdowns/slam-mirrorbot/graphs/contributors) who has helped make this bot awesome!
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ def deletefile(update, context):
|
|||
link = msg_args[1]
|
||||
LOGGER.info(msg_args[1])
|
||||
except IndexError:
|
||||
msg = 'send a link along with command'
|
||||
msg = 'Send a link along with command'
|
||||
|
||||
if msg == '' :
|
||||
drive = gdriveTools.GoogleDriveHelper()
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ class MirrorListener(listeners.MirrorListeners):
|
|||
share_url = requests.utils.requote_uri(f'{INDEX_URL}/{download_dict[self.uid].name()}')
|
||||
if os.path.isdir(f'{DOWNLOAD_DIR}/{self.uid}/{download_dict[self.uid].name()}'):
|
||||
share_url += '/'
|
||||
msg += f'\n\n Shareable link: <a href="{share_url}">here</a>'
|
||||
msg += f'\n\nShareable link: <a href="{share_url}">here</a>'
|
||||
if self.message.from_user.username:
|
||||
uname = f"@{self.message.from_user.username}"
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue