2
0
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:
Nick80835
2020-06-22 21:53:11 -04:00
parent b28abaec50
commit 65fbed1480
10 changed files with 23 additions and 20 deletions

View File

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