You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.
Please describe the bug or issue in as much detail as possible: msg.author is sometimes undefined because it cannot find the user. It seems like the user isn't being cached, therefore the object is undefined. (there should seriously be a fetch user by ID API endpoint.)
Please include a reproducible code sample here, if possible: msg.author and etc are undefined.
Further details:
Installed hiven.js version: ^2.0.11
Installed Node.js version: v14.17.0
Operating system: Windows 10
Workaround
A workaround for this issue is to DM the bot before you send a message to them. The bot needs to have an open DM with the user, then restart the bot. (on startup)
The text was updated successfully, but these errors were encountered:
Please describe the bug or issue in as much detail as possible:
msg.author
is sometimesundefined
because it cannot find the user. It seems like the user isn't being cached, therefore the object is undefined. (there should seriously be a fetch user by ID API endpoint.)Please include a reproducible code sample here, if possible:
msg.author
and etc are undefined.Further details:
Workaround
A workaround for this issue is to DM the bot before you send a message to them. The bot needs to have an open DM with the user, then restart the bot. (on startup)
The text was updated successfully, but these errors were encountered: