mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 05:45:02 +00:00
More fixes, change rest of stripObjectToScalars to configAccessibleObj
This commit is contained in:
parent
4ad99975de
commit
acb4913495
66 changed files with 623 additions and 192 deletions
|
@ -4,6 +4,7 @@ import {
|
|||
MessageEditOptions,
|
||||
MessageOptions,
|
||||
MessageReaction,
|
||||
PartialMessageReaction,
|
||||
PartialUser,
|
||||
TextChannel,
|
||||
User,
|
||||
|
@ -37,7 +38,10 @@ export async function createPaginatedMessage(
|
|||
|
||||
let page = 1;
|
||||
let pageLoadId = 0; // Used to avoid race conditions when rapidly switching pages
|
||||
const reactionListener = async (reactionMessage: MessageReaction, reactor: User | PartialUser) => {
|
||||
const reactionListener = async (
|
||||
reactionMessage: MessageReaction | PartialMessageReaction,
|
||||
reactor: User | PartialUser,
|
||||
) => {
|
||||
if (reactionMessage.message.id !== message.id) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue