fix(player, ui, voice): resolve seek 0 validation, help paginator reset, and voice retry backoff (#22)

This commit is contained in:
NoLogicAlan committed 2026-10-22 01:04:14 +03:00
1 parent 04aece8af3
commit 08e5d363fc
4 files changed
+35 -30

No files matched your search

+2
View File
@@ -143,6 +143,7 @@ export async function run(msg, data) {
await clearReactions();
if (e.emoji_id === CANCEL_EMOJI) {
p.searches.delete(msg.authorId);
rawMsg.edit({
embeds: [makeEmbed(this.t(msg, "responses.search.cancelled"), null, this.t(msg, "responses.search.resultsTitle", { provider: name }))]
}).catch(() => {});
@@ -167,6 +168,7 @@ export async function run(msg, data) {
const SESSION_MS = this.config?.timers?.searchSessionTimeout ?? 30_000;
const timer = setTimeout(() => {
unobserve();
p.searches.delete(msg.authorId);
clearReactions().catch(() => {});
rawMsg.edit({
embeds: [makeEmbed(this.t(msg, "responses.search.timedOut"), this.t(msg, "responses.search.sessionClosed"), this.t(msg, "responses.search.resultsTitle", { provider: name }))]