From c6760d254017c40b88020db87a6a3c6dc9b842bf Mon Sep 17 00:00:00 2001 From: andrewj-brown <92134285+andrewj-brown@users.noreply.github.com> Date: Wed, 8 Nov 2023 17:32:34 +1000 Subject: [PATCH] i'm capitulating --- uqcsbot/yelling.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/uqcsbot/yelling.py b/uqcsbot/yelling.py index aea03ae..38b7d6e 100644 --- a/uqcsbot/yelling.py +++ b/uqcsbot/yelling.py @@ -47,10 +47,9 @@ async def wrapper( await func(cogself, *args, **kwargs) return - x: discord.interactions.InteractionResponse[discord.Client] = interaction.response - await x.send_message( + await interaction.response.send_message( str(discord.utils.get(bot.emojis, name="disapproval") or "") - ) + ) # type: ignore if isinstance(interaction.user, discord.Member): await Yelling.external_handle_bans(bot, interaction.user)