From 16ce0ce8267acdaaf1870a1e9f9d16c82a3d2da0 Mon Sep 17 00:00:00 2001
From: "deepsource-autofix[bot]"
<62050782+deepsource-autofix[bot]@users.noreply.github.com>
Date: Wed, 1 May 2024 17:15:27 +0000
Subject: [PATCH] refactor: add newline at end of file
It is recommended to put a newline at the end of the file.
---
app.py | 2 +-
modules/clear_notifs.py | 2 +-
modules/direct.py | 2 +-
modules/id.py | 2 +-
modules/lexica.py | 2 +-
modules/purge.py | 2 +-
modules/safone.py | 2 +-
modules/sessionkiller.py | 2 +-
modules/shell.py | 2 +-
modules/squotes.py | 2 +-
modules/support.py | 2 +-
modules/updater.py | 2 +-
string_gen.py | 2 +-
utils/conv.py | 2 +-
14 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/app.py b/app.py
index 85aa94c..ed094a9 100644
--- a/app.py
+++ b/app.py
@@ -7,4 +7,4 @@ def hello_world():
if __name__ == "__main__":
- app.run()
\ No newline at end of file
+ app.run()
diff --git a/modules/clear_notifs.py b/modules/clear_notifs.py
index 0e32dfc..6a47980 100644
--- a/modules/clear_notifs.py
+++ b/modules/clear_notifs.py
@@ -85,4 +85,4 @@ modules_help["clear_notifs"] = {
"clear_all_@": "clear all mentions in all chats",
"clear_reacts": "clear all reactions in this chat",
"clear_all_reacts": "clear all reactions in all chats (except private chats)",
-}
\ No newline at end of file
+}
diff --git a/modules/direct.py b/modules/direct.py
index 7078737..546a36d 100644
--- a/modules/direct.py
+++ b/modules/direct.py
@@ -311,4 +311,4 @@ modules_help["direct"] = {
\n\nSyntax : .direct [url/reply] \
\nUsage : Generates direct download link from supported URL(s)\
\n\nSupported websites : Google Drive - MEGA.nz - Cloud Mail - Yandex.Disk - AFH - MediaFire - SourceForge - OSDN"
- }
\ No newline at end of file
+ }
diff --git a/modules/id.py b/modules/id.py
index 1a1c044..0006026 100644
--- a/modules/id.py
+++ b/modules/id.py
@@ -67,4 +67,4 @@ async def id(client: Client, message: Message):
modules_help["id"] = {
"id": "simply run or reply to message",
-}
\ No newline at end of file
+}
diff --git a/modules/lexica.py b/modules/lexica.py
index e857074..4cd6f6c 100644
--- a/modules/lexica.py
+++ b/modules/lexica.py
@@ -78,4 +78,4 @@ async def lgen(client: Client, message: Message):
modules_help["lexica"] = {
"lgen [model_id]* [prompt/reply to prompt]*": "Generate Image with Lexica API",
"lupscale [cap/reply to image]*": "Upscale Image through Lexica API",
-}
\ No newline at end of file
+}
diff --git a/modules/purge.py b/modules/purge.py
index b65f729..ba435d8 100644
--- a/modules/purge.py
+++ b/modules/purge.py
@@ -51,4 +51,4 @@ async def purge(client: Client, message: Message):
modules_help["purge"] = {
"purge [reply]": "Purge (delete all messages) chat from replied message to last",
"del [reply]": "Delete replied message",
-}
\ No newline at end of file
+}
diff --git a/modules/safone.py b/modules/safone.py
index 9f38eeb..a5478ea 100644
--- a/modules/safone.py
+++ b/modules/safone.py
@@ -250,4 +250,4 @@ modules_help["safone"] = {
"app": "Search for an app on Play Store",
"tsearch": "Search Torrent",
"tts [character]* [text/reply to text]*": "Convert Text to Speech"
-}
\ No newline at end of file
+}
diff --git a/modules/sessionkiller.py b/modules/sessionkiller.py
index b204fa1..66a9543 100644
--- a/modules/sessionkiller.py
+++ b/modules/sessionkiller.py
@@ -196,4 +196,4 @@ modules_help["sessions"] = {
"sessionkiller [enable|disable]": "When enabled, every new session will be terminated.\n"
"Useful for additional protection for your account",
"sessions": "List all sessions on your account",
-}
\ No newline at end of file
+}
diff --git a/modules/shell.py b/modules/shell.py
index 0ee9fec..1ce14da 100644
--- a/modules/shell.py
+++ b/modules/shell.py
@@ -57,4 +57,4 @@ async def shell(_, message: Message):
cmd_obj.kill()
-modules_help["shell"] = {"sh [command]*": "Execute command in shell"}
\ No newline at end of file
+modules_help["shell"] = {"sh [command]*": "Execute command in shell"}
diff --git a/modules/squotes.py b/modules/squotes.py
index d04e8ae..7011acd 100644
--- a/modules/squotes.py
+++ b/modules/squotes.py
@@ -425,4 +425,4 @@ modules_help["squotes"] = {
"Available options: !png — send as PNG, !me — send quote to"
"saved messages, !noreply — generate quote without reply",
"fq [reply]* [!png] [!me] [!noreply] [text]*": "Generate a fake quote",
-}
\ No newline at end of file
+}
diff --git a/modules/support.py b/modules/support.py
index 4a4e898..3f285b6 100644
--- a/modules/support.py
+++ b/modules/support.py
@@ -86,4 +86,4 @@ async def version(client: Client, message: Message):
modules_help["support"] = {
"support": "Information about userbot",
"version": "Check userbot version",
-}
\ No newline at end of file
+}
diff --git a/modules/updater.py b/modules/updater.py
index fb5f9d8..8744e58 100644
--- a/modules/updater.py
+++ b/modules/updater.py
@@ -94,4 +94,4 @@ async def update(_, message: Message):
modules_help["updater"] = {
"update": "Update the userbot. If new core modules are avaliable, they will be installed",
"restart": "Restart userbot",
-}
\ No newline at end of file
+}
diff --git a/string_gen.py b/string_gen.py
index ca6ca63..60a6b31 100644
--- a/string_gen.py
+++ b/string_gen.py
@@ -23,4 +23,4 @@ with Client("my_account", api_id=api_id, api_hash=api_hash, hide_password=True)
first_name = (bot_.get_me()).first_name
string_session_ = f"String Session For {first_name} \n{bot_.export_session_string()}"
bot_.send_message("me", string_session_, parse_mode=enums.ParseMode.HTML, disable_web_page_preview=True)
- print(f"String Has Been Sent To Your Saved Message : {first_name}")
\ No newline at end of file
+ print(f"String Has Been Sent To Your Saved Message : {first_name}")
diff --git a/utils/conv.py b/utils/conv.py
index 6cc9d05..cf76c9d 100644
--- a/utils/conv.py
+++ b/utils/conv.py
@@ -185,4 +185,4 @@ class Conversation:
schedule_date=schedule_date,
)
self._message_ids.append(sent.id)
- return sent
\ No newline at end of file
+ return sent