mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
fix(player, ui, voice): resolve seek 0 validation, help paginator reset, and voice retry backoff (#22)
This commit is contained in:
1 parent
04aece8af3
commit
08e5d363fc
4 files changed
+35
-30
No files matched your search
@@ -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 }))]
|
||||
|
||||
Reference in new issue
Block a user