From cf688b88afcbf7c4261cf09ce01b9581b697e7ca Mon Sep 17 00:00:00 2001 From: codey Date: Fri, 21 Mar 2025 16:12:44 -0400 Subject: [PATCH] bugfix: joint --- cogs/misc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/misc.py b/cogs/misc.py index f4c570f..4791689 100644 --- a/cogs/misc.py +++ b/cogs/misc.py @@ -1311,7 +1311,7 @@ class Misc(commands.Cog): if not recipient: recipient = authorDisplay.strip() - recipient_normal: str = ctx.user.mention + recipient_normal: str = ctx.author.mention else: recipient_normal = recipient if discord.utils.raw_mentions(recipient): @@ -1333,11 +1333,11 @@ class Misc(commands.Cog): raise MiscException("Failed to get strain from db.") (choice_strain, choice_desc) = strain escaped_description = discord.utils.escape_markdown(choice_desc.strip()) - await ctx.send_followup(f"*hands **{recipient_normal}** a joint rolled up with some **{choice_strain}***", username="Joint Granter") + await ctx.respond(f"*hands **{recipient_normal}** a joint rolled up with some **{choice_strain}***") embed: discord.Embed = discord.Embed(title=choice_strain, description=f"*{escaped_description}*") await self.util.increment_counter("joints") - return await ctx.send_followup(embed=embed, username="Joint Granter") + return await ctx.respond(embed=embed) except Exception as e: traceback.print_exc() return await ctx.respond(f"Failed: {str(e)}")