This commit is contained in:
Auric Vente 2024-02-22 20:26:27 -06:00
parent 96df5b5b7a
commit 9e91e57d94
1 changed files with 4 additions and 1 deletions

View File

@ -245,7 +245,10 @@ async def gif_numbers(arg, room_id):
if nums[0] is not None:
if nums[1] is not None:
num = random_int(nums[0], nums[1])
if nums[0] < nums[1]:
num = random_int(nums[0], nums[1])
else:
return
else:
num = random_int(0, nums[0])