From dca95b4231435460af3d12aeea924736819fe434 Mon Sep 17 00:00:00 2001 From: jackra1n <45038833+jackra1n@users.noreply.github.com> Date: Fri, 16 Feb 2024 22:11:42 +0100 Subject: [PATCH] Add debug log for karma transfer, dont delete message when not found --- bot/cogs/karma.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot/cogs/karma.py b/bot/cogs/karma.py index f0f9e75..c9c09ab 100644 --- a/bot/cogs/karma.py +++ b/bot/cogs/karma.py @@ -188,8 +188,9 @@ async def karma_donate(self, ctx: commands.Context, *args): except ValueError: continue + logger.debug(f'Karma transfer params -> User: {user}, amount: {amount}') if user is None or amount is None: - return await ctx.reply("Could not find a user or amount in the provided arguments.", delete_after=20) + return await ctx.reply("Could not find a user or amount in the provided arguments.") embed = discord.Embed(color=0xf66045) if user.bot: