Skip to content

Cannot set properties of undefined #1415

Closed Answered by monbrey
BlitzDBS asked this question in Q&A
Discussion options

You must be logged in to vote
const { client } = new Client({
	intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildVoiceStates],
});

You're attempting to destructure a client property from a Client. This is undefined.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BlitzDBS
Comment options

Answer selected by almostSouji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants