From a1aca02e273eeb09b62828af5a94471060bc127b Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Tue, 31 Jul 2018 20:23:35 -0500 Subject: [PATCH] fixed strings in delete_item --- Geoffrey.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Geoffrey.py b/Geoffrey.py index 9517ced..8a89077 100644 --- a/Geoffrey.py +++ b/Geoffrey.py @@ -388,11 +388,12 @@ async def delete_item(ctx, item: str, * args): try: 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: await bot.say('{}, you do not have a shop called **{}**.'.format(ctx.message.author.mention, shop)) 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 ************************************************************