Selling now takes items with spaces in them name

doc_update
Joey Hines 2018-09-14 11:50:26 -05:00
parent 1ed9252858
commit 52bc832f13
1 changed files with 2 additions and 1 deletions

View File

@ -95,12 +95,13 @@ class Search_Commands:
@commands.command(pass_context=True) @commands.command(pass_context=True)
@commands.cooldown(5, 60, commands.BucketType.user) @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 Lists all the shops selling an item
?selling [item] ?selling [item]
""" """
item_name = get_name(args)
try: try:
result = self.bot.bot_commands.selling(item_name) result = self.bot.bot_commands.selling(item_name)
await ctx.send( await ctx.send(