for all user

This commit is contained in:
levina 2022-01-20 22:15:11 +07:00 committed by GitHub
parent 19cbae3348
commit a64e60a150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,5 @@
# credit to TeamYukki for this speedtest module # credit to TeamYukki for this speedtest module
import os import os
import wget import wget
import speedtest import speedtest
@ -15,7 +14,6 @@ from pyrogram.types import Message
@Client.on_message(command(["speedtest", f"speedtest@{bname}"]) & ~filters.edited) @Client.on_message(command(["speedtest", f"speedtest@{bname}"]) & ~filters.edited)
@sudo_users_only
async def statsguwid(_, message: Message): async def statsguwid(_, message: Message):
m = await message.reply_text("Running server speedtest.") m = await message.reply_text("Running server speedtest.")
try: try: