mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
test
This commit is contained in:
1 parent
4e1d23fd57
commit
0714d30a6f
5 files changed
+111
-100
No files matched your search
@@ -622,6 +622,7 @@ export class PlayerManager {
|
||||
return new Promise(resolve => {
|
||||
let unsubscribeReactions;
|
||||
let unsubscribeMessages;
|
||||
const promptUser = msg.author ?? msg.message?.author ?? null;
|
||||
|
||||
const cleanup = () => {
|
||||
unsubscribeMessages?.();
|
||||
@@ -646,7 +647,7 @@ export class PlayerManager {
|
||||
const cid = channel._id ?? channel.id;
|
||||
this.initPlayer(msg, cid, (p) => resolve(p));
|
||||
},
|
||||
msg.author
|
||||
promptUser
|
||||
);
|
||||
}
|
||||
|
||||
@@ -667,7 +668,7 @@ export class PlayerManager {
|
||||
clearTimeout(timeout);
|
||||
cleanup();
|
||||
this.initPlayer(m, channel, (p) => resolve(p));
|
||||
}, msg.author);
|
||||
}, promptUser);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user