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
Types of parameters methods and methods are incompatible.
Type DiscordGatewayAdapterLibraryMethods is not assignable to type InternalDiscordGatewayAdapterLibraryMethods
Types of property onVoiceStateUpdate are incompatible.
Type (data: GatewayVoiceState) => void is not assignable to type (data: APIVoiceState) => void
Types of parameters data and data are incompatible.
Type APIVoiceState is not assignable to type GatewayVoiceState
Types of property member are incompatible.
Type 'import("/ node_modules/ discord-api-types/ payloads/ v10/ guild").APIGuildMember | undefined' is not assignable to type 'import("/ node_modules/@discordjs/ ws/ node_modules/ discord-api-types/ payloads/ v10/ guild").APIGuildMember | undefined'.
Type 'import("/ node_modules/ discord-api-types/ payloads/ v10/ guild").APIGuildMember' is not assignable to type 'import("/ node_modules/@discordjs/ ws/ node_modules/ discord-api-types/ payloads/ v10/ guild").APIGuildMember'.
Types of property flags are incompatible.
Type 'import("/ node_modules/ discord-api-types/ payloads/ v10/ guild").GuildMemberFlags' is not assignable to type 'import("/ node_modules/@discordjs/ ws/ node_modules/ discord-api-types/ payloads/ v10/ guild").GuildMemberFlags'.
Property IsGuest is missing in type
import("/ node_modules/@discordjs/ ws/ node_modules/ discord-api-types/ payloads/ v10/ guild").GuildMemberFlags
Code sample
client.on("ready",async()=>{constguild=awaitclient.guilds.fetch("...")constchannel=awaitguild.channels.fetch("...");if(channel==null){console.error("Channel not found");return;}if(channel.type!=ChannelType.GuildVoice&&channel.type!=ChannelType.GuildStageVoice){console.error("Channel is not a voice channel");return;}joinVoiceChannel({channelId: channel.id,guildId: guild.id,adapterCreator: guild.voiceAdapterCreator// ERROR})})
Alexejhero
changed the title
Typescript: Type 'InternalDiscordGatewayAdapterCreator' is not assignable to type 'DiscordGatewayAdapterCreator'.Typescript: Type 'InternalDiscordGatewayAdapterCreator' is not assignable to type 'DiscordGatewayAdapterCreator'.
Typescript: Type 'InternalDiscordGatewayAdapterCreator' is not assignable to type 'DiscordGatewayAdapterCreator'.
Oct 16, 2024
Which package is this bug report for?
voice
Issue description
Code sample
Versions
Issue priority
Low (slightly annoying)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
GuildVoiceStates
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: