refactor: add newline at end of file

It is recommended to put a newline at the end of the file.
This commit is contained in:
deepsource-autofix[bot]
2024-05-01 17:15:27 +00:00
committed by Abhi
parent 645cb8f9b8
commit 16ce0ce826
14 changed files with 14 additions and 14 deletions

2
app.py
View File

@@ -7,4 +7,4 @@ def hello_world():
if __name__ == "__main__":
app.run()
app.run()

View File

@@ -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)",
}
}

View File

@@ -311,4 +311,4 @@ modules_help["direct"] = {
\n\n<b>Syntax : </b><code>.direct [url/reply] </code>\
\n<b>Usage :</b> Generates direct download link from supported URL(s)\
\n\n<b>Supported websites : </b><code>Google Drive - MEGA.nz - Cloud Mail - Yandex.Disk - AFH - MediaFire - SourceForge - OSDN</code>"
}
}

View File

@@ -67,4 +67,4 @@ async def id(client: Client, message: Message):
modules_help["id"] = {
"id": "simply run or reply to message",
}
}

View File

@@ -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",
}
}

View File

@@ -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",
}
}

View File

@@ -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"
}
}

View File

@@ -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",
}
}

View File

@@ -57,4 +57,4 @@ async def shell(_, message: Message):
cmd_obj.kill()
modules_help["shell"] = {"sh [command]*": "Execute command in shell"}
modules_help["shell"] = {"sh [command]*": "Execute command in shell"}

View File

@@ -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",
}
}

View File

@@ -86,4 +86,4 @@ async def version(client: Client, message: Message):
modules_help["support"] = {
"support": "Information about userbot",
"version": "Check userbot version",
}
}

View File

@@ -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",
}
}

View File

@@ -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"<b><u>String Session For {first_name}</b></u> \n<code>{bot_.export_session_string()}</code>"
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}")
print(f"String Has Been Sent To Your Saved Message : {first_name}")

View File

@@ -185,4 +185,4 @@ class Conversation:
schedule_date=schedule_date,
)
self._message_ids.append(sent.id)
return sent
return sent