TheHamkerCat %!s(int64=5) %!d(string=hai) anos
pai
achega
ca58fdfe22
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      wbb/modules/dice.py

+ 4 - 4
wbb/modules/dice.py

@@ -1,7 +1,7 @@
 from pyrogram import filters
 from pyrogram.types import Message
 
-from wbb import app, app2, SUDOERS, USERBOT_PREFIX
+from wbb import SUDOERS, USERBOT_PREFIX, app, app2
 
 __MODULE__ = "Dice"
 __HELP__ = """
@@ -9,10 +9,10 @@ __HELP__ = """
     Roll a dice.
 """
 
+
 @app2.on_message(
-        filters.command("dice", prefixes=USERBOT_PREFIX)
-        & filters.user(SUDOERS)
-    )
+    filters.command("dice", prefixes=USERBOT_PREFIX) & filters.user(SUDOERS)
+)
 @app.on_message(filters.command("dice"))
 async def throw_dice(client, message: Message):
     six = (message.from_user.id in SUDOERS) if message.from_user else False