TheHamkerCat пре 5 година
родитељ
комит
66fd63c827
2 измењених фајлова са 3 додато и 2 уклоњено
  1. 2 1
      wbb/modules/global_stats.py
  2. 1 1
      wbb/utils/inlinefuncs.py

+ 2 - 1
wbb/modules/global_stats.py

@@ -33,7 +33,8 @@ from wbb.utils.dbfunctions import (
     get_filters_count,
     get_warns_count,
     get_karmas_count,
-    get_gbans_count
+    get_gbans_count,
+    get_blacklist_filters_count
 )
 from pyrogram import filters
 import asyncio

+ 1 - 1
wbb/utils/inlinefuncs.py

@@ -759,7 +759,7 @@ async def ping_func(answers):
     ping = Ping(ping_id=randint(696969, 6969696))
     await app.send(ping)
     t2 = time()
-    ping = f"{str(round((t2 - t1), 6))} Seconds"
+    ping = f"{str(round((t2 - t1), 6)) * 100} ms"
     answers.append(
         InlineQueryResultArticle(
             title=ping,