ReactionAddedEvent uses non-exported sub interfaces. #765
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
good first issue
Good for newcomers
TypeScript-specific
Description
Describe your issue here.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 3.0.0
node version: 12.3
OS version(s): MacOS 10.15.7
Steps to reproduce:
app.event('reaction_added', async ({ event, client }) => { ...
listener.event.item.channel
orevent.item.ts
Expected result:
To be able to define which type
item
is =ReactionMessageItem
,ReactionFileItem
orReactionFileCommentItem
but these interfaces are not exported.Actual result:
Full example code:
The text was updated successfully, but these errors were encountered: