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:
committed by
Abhi
parent
645cb8f9b8
commit
16ce0ce826
2
app.py
2
app.py
@@ -7,4 +7,4 @@ def hello_world():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run()
|
||||
app.run()
|
||||
|
||||
@@ -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)",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,4 +67,4 @@ async def id(client: Client, message: Message):
|
||||
|
||||
modules_help["id"] = {
|
||||
"id": "simply run or reply to message",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"}
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,4 +86,4 @@ async def version(client: Client, message: Message):
|
||||
modules_help["support"] = {
|
||||
"support": "Information about userbot",
|
||||
"version": "Check userbot version",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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}")
|
||||
|
||||
@@ -185,4 +185,4 @@ class Conversation:
|
||||
schedule_date=schedule_date,
|
||||
)
|
||||
self._message_ids.append(sent.id)
|
||||
return sent
|
||||
return sent
|
||||
|
||||
Reference in New Issue
Block a user