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
I've noticed in the logs that sometimes, when an expired strike is removed, the cron job returns an "Unknown Member" error from the Discord API.
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
DiscordAPIError[10007]: Unknown Member
at SequentialHandler.runRequest (/home/pfist/bots/quinn/node_modules/@discordjs/rest/dist/lib/handlers/SequentialHandler.cjs:293:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SequentialHandler.queueRequest (/home/pfist/bots/quinn/node_modules/@discordjs/rest/dist/lib/handlers/SequentialHandler.cjs:99:14)
at async REST.request (/home/pfist/bots/quinn/node_modules/@discordjs/rest/dist/lib/REST.cjs:52:22)
at async GuildMemberManager._fetchSingle (/home/pfist/bots/quinn/node_modules/discord.js/src/managers/GuildMemberManager.js:489:18)
at async Cron.fn (file:///home/pfist/bots/quinn/src/listeners/client-ready.js:52:24)
What you expected
The expired strike should be set to False in the database
The user should be notified if they're accepting DMs from Manny
If Manny fails to notify the user, we should log a warning message
Steps to reproduce
Let any strike expire
View the application logs
Sometimes, this error is returned.
The text was updated successfully, but these errors were encountered:
Was this issue already reported?
On which platform did you encounter this issue?
Desktop app
What happened
I've noticed in the logs that sometimes, when an expired strike is removed, the cron job returns an "Unknown Member" error from the Discord API.
What you expected
Steps to reproduce
The text was updated successfully, but these errors were encountered: