Fixed issue in info error handling
parent
48a1905017
commit
2175e025e5
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue