diff --git a/sizebot/cogs/quake.py b/sizebot/cogs/quake.py index ff519034..3e10eec4 100644 --- a/sizebot/cogs/quake.py +++ b/sizebot/cogs/quake.py @@ -89,6 +89,10 @@ async def quakewalk(self, ctx, dist: SV, user: typing.Union[discord.Member, Fake stats = proportions.PersonStats(userdata) steps: int = int(dist / stats.walksteplength) + if steps < 1: + await ctx.send("You don't even have to take a single step to reach that distance!") + return + small_j = step_joules(userdata) small_mag = joules_to_mag(small_j) small_type = mag_to_name(small_mag)