Sfoglia il codice sorgente

Removed sudo filter from webss

TheHamkerCat 5 anni fa
parent
commit
f7f274ab42
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      wbb/modules/webss.py

+ 1 - 2
wbb/modules/webss.py

@@ -9,8 +9,7 @@ __MODULE__ = "WebSS"
 __HELP__ = "/webss | .webss [URL] - Take A Screenshot Of A Webpage"
 
 
-@app.on_message(filters.command("webss") & filters.user(SUDOERS))
-@app2.on_message(filters.command("webss", prefixes=["."]) & filters.user(SUDOERS))
+@app.on_message(filters.command("webss"))
 @capture_err
 async def take_ss(_, message):
     if len(message.command) != 2: