Fixed bug inf ?info, was looking for wrong error

doc_update
Joey Hines 2018-09-27 15:47:29 -05:00
parent 9b632ce1b8
commit 7a3eb8d112
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Search_Commands:
info_str = self.bot.bot_commands.info(loc)
await ctx.send(info_str)
except IndexError:
except LocationLookUpError:
await ctx.send('{}, no locations in the database match **{}**.'.format(ctx.message.author.mention, loc))
@commands.command(pass_context=True)