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 properties of undefined (reading 'set') #5

Closed
alleok opened this issue Jun 7, 2023 · 1 comment
Closed

TypeError: Cannot read properties of undefined (reading 'set') #5

alleok opened this issue Jun 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@alleok
Copy link

alleok commented Jun 7, 2023

was testing, however when a member joins the guild, the error occurs.

Error:
yield guildInvites.each((inv) => invites.set(inv.code, inv.uses));
^

TypeError: Cannot read properties of undefined (reading 'set')

@e-enes
Copy link
Owner

e-enes commented Jun 7, 2023

Hello,

Thanks for reporting, the bug has been fixed in version 1.0.9.
Make sure to run the /setup command once the bot is running to receive invitation messages.

@e-enes e-enes added the bug Something isn't working label Jun 7, 2023
@e-enes e-enes closed this as completed Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants