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

TypeError: Cannot read property 'inviteCache' of undefined #83

Closed
saiteja-madha opened this issue Jan 21, 2022 · 0 comments · Fixed by #75
Closed

TypeError: Cannot read property 'inviteCache' of undefined #83

saiteja-madha opened this issue Jan 21, 2022 · 0 comments · Fixed by #75
Assignees
Labels
bug Something is verified not to work

Comments

@saiteja-madha
Copy link
Owner

Describe the bug

TypeError: Cannot read property 'inviteCache' of undefined
    at setStatus (/home/strange/Desktop/discord-js-bot/src/commands/invites/invitetracker.js:84:17)
    at InviteTracker.messageRun (/home/strange/Desktop/discord-js-bot/src/commands/invites/invitetracker.js:50:28)
    at InviteTracker.executeCommand (/home/strange/Desktop/discord-js-bot/src/structures/Command.js:159:18)
    at module.exports (/home/strange/Desktop/discord-js-bot/src/events/message/messageCreate.js:25:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

To Reproduce
Enable/disable invite tracker

Expected behavior
Configuration change without any error

If possible

  • Bot version: 4.0.1
@saiteja-madha saiteja-madha added the bug Something is verified not to work label Jan 21, 2022
@saiteja-madha saiteja-madha self-assigned this Jan 21, 2022
@saiteja-madha saiteja-madha linked a pull request Jan 21, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is verified not to work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant