none
This commit is contained in:
parent
41d15193e3
commit
1b3431d7c5
@ -12,7 +12,6 @@ from config import (
|
||||
UPDATES_CHANNEL,
|
||||
)
|
||||
from program import __version__
|
||||
from driver.decorators import sudo_users_only
|
||||
from driver.filters import command, other_filters
|
||||
from pyrogram import Client, filters
|
||||
from pyrogram import __version__ as pyrover
|
||||
@ -58,7 +57,7 @@ async def start_(client: Client, message: Message):
|
||||
|
||||
💡 **Find out all the Bot's commands and how they work by clicking on the » 📚 Commands button!**
|
||||
|
||||
❔ **To know how to use this bot, please click on the » ❓ Basic Guide button!**
|
||||
🔖 **To know how to use this bot, please click on the » ❓ Basic Guide button!**
|
||||
""",
|
||||
reply_markup=InlineKeyboardMarkup(
|
||||
[
|
||||
@ -71,7 +70,7 @@ async def start_(client: Client, message: Message):
|
||||
[InlineKeyboardButton("❓ Basic Guide", callback_data="cbhowtouse")],
|
||||
[
|
||||
InlineKeyboardButton("📚 Commands", callback_data="cbcmds"),
|
||||
InlineKeyboardButton("💝 Donate", url=f"https://t.me/{OWNER_NAME}"),
|
||||
InlineKeyboardButton("❤️ Donate", url=f"https://t.me/{OWNER_NAME}"),
|
||||
],
|
||||
[
|
||||
InlineKeyboardButton(
|
||||
@ -129,7 +128,6 @@ async def ping_pong(client: Client, message: Message):
|
||||
|
||||
|
||||
@Client.on_message(command(["uptime", f"uptime@{BOT_USERNAME}"]) & ~filters.edited)
|
||||
@sudo_users_only
|
||||
async def get_uptime(client: Client, message: Message):
|
||||
current_time = datetime.utcnow()
|
||||
uptime_sec = (current_time - START_TIME).total_seconds()
|
||||
|
Loading…
Reference in New Issue
Block a user