Skip to content

Commit

Permalink
Remove auto deletion
Browse files Browse the repository at this point in the history
Signed-off-by: Drapersniper <27962761+drapersniper@users.noreply.github.com>
  • Loading branch information
Drapersniper committed Dec 4, 2019
1 parent fa0f267 commit 89afd69
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions redbot/cogs/audio/audio.py
Expand Up @@ -603,9 +603,6 @@ async def event_handler(
)
await message_channel.send(embed=embed)
else:
if player.fetch("error_message") is not None:
with contextlib.suppress(discord.HTTPException):
await player.fetch("error_message").delete()
query = audio_dataclasses.Query.process_input(player.current.uri)
if player.current and query.is_local:
query = audio_dataclasses.Query.process_input(player.current.uri)
Expand All @@ -627,8 +624,7 @@ async def event_handler(
description="{}\n{}".format(extra, description),
)
embed.set_footer(text=_("Skipping..."))
error_message = await message_channel.send(embed=embed)
player.store("error_message", error_message)
await message_channel.send(embed=embed)
await player.skip()

async def play_query(
Expand Down

0 comments on commit 89afd69

Please sign in to comment.