Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messageDelete event returns None as the message after bot restart #26

Closed
aName2050 opened this issue Nov 25, 2023 · 1 comment
Closed
Assignees
Labels
Bot-BackEnd Related to bot back end functions Bot-FrontEnd Related to bot front end functions Issue-Bug Something isn't working how it's supposed to Priority 1 Solved-Fix-Committed Fix is available, but not yet published

Comments

@aName2050
Copy link
Owner

None is returned by the bot if a message that has not been cached by discord.js is deleted.

@aName2050 aName2050 added Bot-FrontEnd Related to bot front end functions Bot-BackEnd Related to bot back end functions Issue-Bug Something isn't working how it's supposed to Priority 1 labels Nov 25, 2023
@aName2050 aName2050 added this to the Compacter v3.1.1 milestone Nov 25, 2023
@aName2050 aName2050 self-assigned this Nov 25, 2023
@aName2050
Copy link
Owner Author

If message.author is null or undefined, return out of the event handler, no useful data is provided in the message's properties.

aName2050 added a commit that referenced this issue Nov 25, 2023
@aName2050 aName2050 added the Solved-Fix-Committed Fix is available, but not yet published label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot-BackEnd Related to bot back end functions Bot-FrontEnd Related to bot front end functions Issue-Bug Something isn't working how it's supposed to Priority 1 Solved-Fix-Committed Fix is available, but not yet published
Projects
None yet
Development

No branches or pull requests

1 participant