Fixed bug inf ?info, was looking for wrong error
parent
9b632ce1b8
commit
7a3eb8d112
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue