Tidy up code

This commit is contained in:
Nexus 2023-06-01 01:14:39 +01:00
parent 485061bb49
commit 9f76882319
Signed by: nex
GPG key ID: 0FA334385D0B689F
2 changed files with 4 additions and 6 deletions

View file

@ -866,11 +866,6 @@ class OtherCog(commands.Cog):
) = "",
extract_audio: bool = False,
upload_log: bool = False,
# cookies: discord.Option(
# bool,
# description="Whether to ask for cookies.",
# default=False
# ) = False
):
"""Downloads a video using youtube-dl"""
await ctx.defer()

View file

@ -35,7 +35,10 @@ async def on_application_command_error(ctx: discord.ApplicationContext, error: E
if error.args and error.args[0] == "User not connected to a voice channel.":
return
await ctx.respond("Application Command Error: `%r`" % error)
if ctx.user.id == 1019233057519177778:
await ctx.respond("Uh oh! I did a fucky wucky >.< I'll make sure to let important peoplez know straight away!!")
else:
await ctx.respond("Application Command Error: `%r`" % error)
raise error