- fixed Song History not working anymore
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user