From 52bc832f1397fa592b28261b951093575663084b Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Fri, 14 Sep 2018 11:50:26 -0500 Subject: [PATCH] Selling now takes items with spaces in them name --- geoffrey/cogs/Search_Commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geoffrey/cogs/Search_Commands.py b/geoffrey/cogs/Search_Commands.py index 05484f1..d1aa3f7 100644 --- a/geoffrey/cogs/Search_Commands.py +++ b/geoffrey/cogs/Search_Commands.py @@ -95,12 +95,13 @@ class Search_Commands: @commands.command(pass_context=True) @commands.cooldown(5, 60, commands.BucketType.user) - async def selling(self, ctx, item_name: str): + async def selling(self, ctx, *args): """ Lists all the shops selling an item ?selling [item] """ + item_name = get_name(args) try: result = self.bot.bot_commands.selling(item_name) await ctx.send(