MessageEvent type missing user
#774
Labels
bug
M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
user
#774
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
MessageEvent type mission
user
Reproducible in:
package version: 3.1.1
node version: 14.1
OS version(s): MacOS 11.1
Steps to reproduce:
app.message("hello", async ({ message, say }) => { ...
listener.message.user
Expected result:
The type of
message
argument should have theuser
property.Actual result:
Full reproduction code:
Workaround
Add assertion like this:
(message as GenericMessageEvent).user
The text was updated successfully, but these errors were encountered: