fix: Upgrade discord.js to v14 and fix compatibility issues #12
No reviewers
Labels
No labels
breaking
bug
dependency
docs
enhancement
feature
misc
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ElZeckos/Temp-Voice-URC!12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "upgrade-discordjs14"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR fixes the
Cannot read properties of undefined (reading 'Guilds')error by upgrading discord.js from v13 to v14.Changes
package.json- Event deprecation fix: Changedreadyevent toclientReadyin preparation for v15index.jsRoot Cause
The code was written for discord.js v14 syntax (
GatewayIntentBits,PermissionsBitField, etc.) but v13 was installed. These APIs don't exist in v13.Testing- Bot starts successfully without errors