mirror of
https://github.com/Nick80835/microbot
synced 2025-09-05 00:45:55 +00:00
add an easier flags variable
this also fixes a bug
This commit is contained in:
@@ -36,7 +36,7 @@ from ubot.micro_bot import ldr
|
||||
|
||||
@ldr.add("deepfry(f|)", userlocking=True)
|
||||
async def deepfryer(event):
|
||||
as_file = bool(event.pattern_match.group(1))
|
||||
as_file = bool(event.other_args[0])
|
||||
|
||||
try:
|
||||
frycount = int(event.args)
|
||||
|
Reference in New Issue
Block a user