diff --git a/misskaty/plugins/currency.py b/misskaty/plugins/currency.py index 458d6d76..e02f7b5f 100644 --- a/misskaty/plugins/currency.py +++ b/misskaty/plugins/currency.py @@ -43,6 +43,6 @@ async def currency(self: Client, ctx: Message): return await ctx.reply_msg("Invalid response from api !") await ctx.reply_msg(f"**CURRENCY EXCHANGE RATE RESULT:**\n\n`{format(amount, ',')}` **{base_code}** = `{format(conversion_result, ',')}` **{target_code}**\nRate Today = `{format(conversion_rate, ',')}`\nLast Update: {last_update}") except Exception as err: - await ctx.reply_msg("Failed convert currency, maybe you give wrong currency format or api down.") + await ctx.reply_msg(f"Failed convert currency, maybe you give wrong currency format or api down.\n\nERROR: {err}") else: await ctx.reply_msg("This seems to be some alien currency, which I can't convert right now.. (⊙_⊙;)")