mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-11 07:33:14 -04:00
see if this one resolves the issue
This commit is contained in:
parent
41ae0e1477
commit
1e1051d72f
1 changed files with 2 additions and 1 deletions
|
@ -153,10 +153,11 @@ module.exports = class Paginator {
|
||||||
if (!(l instanceof BasePaginator)) continue;
|
if (!(l instanceof BasePaginator)) continue;
|
||||||
if (!l.commandMessage) continue;
|
if (!l.commandMessage) continue;
|
||||||
|
|
||||||
if (data.context.message & l.isCommandMessage(data.context.message.id)) {
|
if (data.context.message?.id && l.isCommandMessage(data.context.message?.id)) {
|
||||||
listener = l
|
listener = l
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(listener) await listener.stop()
|
if(listener) await listener.stop()
|
||||||
|
|
||||||
const instance = new BasePaginator(this, data);
|
const instance = new BasePaginator(this, data);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue