-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 4GB Support
- Loading branch information
Showing
3 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
from Bot import OWNER_ID, encoder | ||
from Bot import OWNER_ID, encoder, create_ubot | ||
from pyrogram.types import InlineKeyboardMarkup as IKM, InlineKeyboardButton as IKB | ||
import asyncio | ||
|
||
encoder.start() | ||
|
||
success = create_ubot() | ||
if success != None: | ||
ubot = success | ||
ubot.start() | ||
|
||
try: | ||
encoder.send_message(OWNER_ID, text='Bot Started', reply_markup=IKM([[IKB('ʜᴇʟᴘ', 'answer_help'), IKB('ᴅᴇᴠᴇʟᴏᴘᴇʀ', 'answer_about_dev')]])) | ||
except: | ||
pass | ||
|
||
loop = asyncio.get_event_loop() | ||
loop.run_forever() | ||
loop.run_forever() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters