From b5bd2e36b6597303985eb9dc897e04d452950372 Mon Sep 17 00:00:00 2001 From: Parker Date: Sun, 19 Jan 2025 23:41:53 -0600 Subject: Overhaul + Sonarr support! --- code/cogs/error.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'code/cogs/error.py') diff --git a/code/cogs/error.py b/code/cogs/error.py index 2752400..6b6e557 100644 --- a/code/cogs/error.py +++ b/code/cogs/error.py @@ -15,10 +15,16 @@ class slash_handlers(commands.Cog): ): embed = discord.Embed( title="Jellyfin Account Creation Disabled", - description=f"The owner of {self.bot.user.mention} has disabled the ability to create temporary Jellyfin accounts. Contact an administrator for more information.", - color=0xD01B86 + description=( + f"The owner of {self.bot.user.mention} has disabled the" + " ability to create temporary Jellyfin accounts. Contact" + " an administrator for more information." + ), + color=0xD01B86, + ) + await interaction.response.send_message( + embed=embed, ephemeral=True ) - await interaction.response.send_message(embed=embed, ephemeral=True) else: raise error -- cgit v1.2.3-70-g09d2