Skip to content

Commit

Permalink
Update start.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sahildesai07 authored Aug 31, 2024
1 parent 009065b commit c7372b3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions plugins/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async def start_command(client: Client, message: Message):


@Bot.on_message(filters.command('tokens') & filters.private )
async def tokens_command(client: Client, message: Message):
async def tokens_command(client: Bot, message: Message):
verifications_today, verifications_last_24_hours = await get_token_verification_stats()
await message.reply_text(
f"Token Verification Stats:\n\n"
Expand Down Expand Up @@ -197,11 +197,6 @@ async def not_joined(client: Client, message: Message):
)






"""
@Bot.on_message(filters.command('users') & filters.private & filters.user(ADMINS))
async def get_users(client: Bot, message: Message):
msg = await client.send_message(chat_id=message.chat.id, text=WAIT_MSG)
Expand All @@ -216,7 +211,7 @@ async def users_command(client: Client, message: Message):
f"User Statistics:\n\n"
f"Users verified in the last 24 hours: {count_24hr}\n"
f"Users verified today: {count_today}"
)
) """

@Bot.on_message(filters.private & filters.command('broadcast') & filters.user(ADMINS))
async def send_text(client: Bot, message: Message):
Expand Down

0 comments on commit c7372b3

Please sign in to comment.