Fixed issue in info error handling

doc_update
Joey Hines 2018-07-20 22:12:43 -05:00
parent 48a1905017
commit 2175e025e5
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ async def info(ctx, name: str):
try:
loc = database_interface.find_location_by_name(name)[0]
except IndexError:
await bot.say('{}, no location in the database matches {}.'.format(ctx.message.author.mentionm, name))
await bot.say('{}, no locations in the database match {}.'.format(ctx.message.author.mention, name))
return
await bot.say('{}'.format(loc))