From 195c04112abe12b6e960e79bedce423b13604d89 Mon Sep 17 00:00:00 2001 From: Hafitz Setya <71178188+breakdowns@users.noreply.github.com> Date: Sat, 20 Feb 2021 14:03:55 +0700 Subject: [PATCH] Tidying up (#5) * Update delete.py * Update mirror.py * Update README.md --- README.md | 5 +---- bot/modules/delete.py | 2 +- bot/modules/mirror.py | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 637b4c0..df45a84 100644 --- a/README.md +++ b/README.md @@ -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! diff --git a/bot/modules/delete.py b/bot/modules/delete.py index 745d7c5..7eabf7d 100644 --- a/bot/modules/delete.py +++ b/bot/modules/delete.py @@ -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() diff --git a/bot/modules/mirror.py b/bot/modules/mirror.py index 402b703..6490937 100644 --- a/bot/modules/mirror.py +++ b/bot/modules/mirror.py @@ -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: here' + msg += f'\n\nShareable link: here' if self.message.from_user.username: uname = f"@{self.message.from_user.username}" else: