fixed strings in delete_item
parent
14191e87fe
commit
a1aca02e27
|
@ -388,11 +388,12 @@ async def delete_item(ctx, item: str, * args):
|
||||||
try:
|
try:
|
||||||
bot_commands.delete_item(item, shop, discord_uuid=ctx.message.author.id)
|
bot_commands.delete_item(item, shop, discord_uuid=ctx.message.author.id)
|
||||||
|
|
||||||
await bot.say('{}, **{}** has been removed from the inventory of **{}**.', item, shop)
|
await bot.say('{}, **{}** has been removed from the inventory of **{}**.'.
|
||||||
|
format(ctx.message.author.mention, item, shop))
|
||||||
except LocationLookUpError:
|
except LocationLookUpError:
|
||||||
await bot.say('{}, you do not have a shop called **{}**.'.format(ctx.message.author.mention, shop))
|
await bot.say('{}, you do not have a shop called **{}**.'.format(ctx.message.author.mention, shop))
|
||||||
except DeleteEntryError:
|
except DeleteEntryError:
|
||||||
await bot.say('{}, **{}** does not sell **{}**.', shop, item)
|
await bot.say('{}, **{}** does not sell **{}**.'.format(ctx.message.author.mention, shop, item))
|
||||||
|
|
||||||
# Helper Functions ************************************************************
|
# Helper Functions ************************************************************
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue