- fixed Song History not working anymore

This commit is contained in:
Tim Müller
2022-10-09 16:44:00 +02:00
parent 1fc3fae278
commit 5a9d978b5e
3 changed files with 10 additions and 9 deletions

View File

@@ -93,15 +93,16 @@ namespace TomatenMusic.Prompt.Implementation
_ = args.Interaction.EditOriginalResponseAsync(new DiscordWebhookBuilder().WithContent("Please connect to the bots Channel to use this Interaction"));
return;
}
try
{
await Player.RewindAsync();
}catch (Exception ex)
}
catch (Exception ex)
{
_ = args.Interaction.CreateResponseAsync(
DSharpPlus.InteractionResponseType.ChannelMessageWithSource,
new DiscordInteractionResponseBuilder()
.WithContent($"An Error occurred during this Interaction {ex.Message}"));
Console.WriteLine(ex);
}
}
}