diff options
author | Parker <contact@pkrm.dev> | 2025-01-19 23:41:53 -0600 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2025-01-19 23:41:53 -0600 |
commit | b5bd2e36b6597303985eb9dc897e04d452950372 (patch) | |
tree | 697e269911c752ce8c196c7be486df5b5871b85a /code/cogs/error.py | |
parent | 86b12da175593f91cb5e3266826a60d1b26f6144 (diff) |
Overhaul + Sonarr support!
Diffstat (limited to 'code/cogs/error.py')
-rw-r--r-- | code/cogs/error.py | 12 |
1 files changed, 9 insertions, 3 deletions
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 |