2
0
mirror of https://github.com/Nick80835/microbot synced 2025-09-03 16:05:49 +00:00

userlock some commands

This commit is contained in:
Nick80835
2020-06-16 19:16:06 -04:00
parent 6dcb9a40be
commit 224d6a5578
8 changed files with 16 additions and 16 deletions

View File

@@ -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))