From aaafaa1342e27359424df8d5d30eba41dfcf4a51 Mon Sep 17 00:00:00 2001 From: DigiDuncan Date: Tue, 20 Dec 2022 17:37:01 -0500 Subject: [PATCH] fix for... --- sizebot/cogs/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sizebot/cogs/objects.py b/sizebot/cogs/objects.py index 26f73723..ea01f9e2 100644 --- a/sizebot/cogs/objects.py +++ b/sizebot/cogs/objects.py @@ -291,7 +291,7 @@ async def food(self, ctx, food: typing.Union[DigiObject, str], *, who: typing.Un await ctx.send(f"{emojis.error} `{food.name}` is not a food.") return - if isinstance(food, str): + if isinstance(food, str) and food != "random": await ctx.send(f"{emojis.error} `{food}` is not a known object.") return