mirror of
https://github.com/Nick80835/microbot
synced 2025-09-03 16:05:49 +00:00
userlock some commands
This commit is contained in:
@@ -36,7 +36,7 @@ from ubot.micro_bot import micro_bot
|
||||
ldr = micro_bot.loader
|
||||
|
||||
|
||||
@ldr.add("deepfry(f|)")
|
||||
@ldr.add("deepfry(f|)", userlocking=True)
|
||||
async def deepfryer(event):
|
||||
as_file = bool(event.pattern_match.group(1))
|
||||
|
||||
|
Reference in New Issue
Block a user