Skip to content

Commit

Permalink
Memes: Fix random not defined
Browse files Browse the repository at this point in the history
Signed-off-by: MoveAngel <[email protected]>
  • Loading branch information
MoveAngel committed Mar 23, 2020
1 parent 4c51f18 commit 1f6700a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userbot/modules/memes.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ async def pressf(f):
args = f.text.split()
arg = (f.text.split(' ', 1))[1] if len(args) > 1 else None
if len(args) == 1:
r = random.randint(0, 3)
r = randint(0, 3)
LOGS.info(r)
if r == 0:
await f.edit("┏━━━┓\n┃┏━━┛\n┃┗━━┓\n┃┏━━┛\n┃┃\n┗┛")
Expand Down

0 comments on commit 1f6700a

Please sign in to comment.