diff options
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 |