nobody
nobody
DIAdiscord.js - Imagine an app
Created by nobody on 4/27/2025 in #djs-questions
Type error when sending a container and a action row (CV2)
thx
6 replies
DIAdiscord.js - Imagine an app
Created by nobody on 4/27/2025 in #djs-questions
Type error when sending a container and a action row (CV2)
But the bot sends the message with no error
6 replies
DIAdiscord.js - Imagine an app
Created by nobody on 4/27/2025 in #djs-questions
Type error when sending a container and a action row (CV2)
gives me this type error:
src/commands/slash/test.ts:44:37 - error TS2769: No overload matches this call.
Overload 1 of 3, '(options: InteractionReplyOptions & { withResponse: true; }): Promise<InteractionCallbackResponse>', gave the following error.
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIMessageTopLevelComponent | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData | ActionRowData<...>'.
Property 'type' is missing in type 'ActionRowBuilder<AnyComponentBuilder>' but required in type 'ActionRowData<MessageActionRowComponentBuilder | MessageActionRowComponentData>'.
Overload 2 of 3, '(options: InteractionReplyOptions & { fetchReply: true; }): Promise<Message<boolean>>', gave the following error.
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIMessageTopLevelComponent | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData | ActionRowData<...>'.
Overload 3 of 3, '(options: string | MessagePayload | InteractionReplyOptions): Promise<InteractionResponse<boolean>>', gave the following error.
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIMessageTopLevelComponent | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData | ActionRowData<...>'.

44 components: [container, row1],
src/commands/slash/test.ts:44:37 - error TS2769: No overload matches this call.
Overload 1 of 3, '(options: InteractionReplyOptions & { withResponse: true; }): Promise<InteractionCallbackResponse>', gave the following error.
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIMessageTopLevelComponent | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData | ActionRowData<...>'.
Property 'type' is missing in type 'ActionRowBuilder<AnyComponentBuilder>' but required in type 'ActionRowData<MessageActionRowComponentBuilder | MessageActionRowComponentData>'.
Overload 2 of 3, '(options: InteractionReplyOptions & { fetchReply: true; }): Promise<Message<boolean>>', gave the following error.
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIMessageTopLevelComponent | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData | ActionRowData<...>'.
Overload 3 of 3, '(options: string | MessagePayload | InteractionReplyOptions): Promise<InteractionResponse<boolean>>', gave the following error.
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIMessageTopLevelComponent | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData | ActionRowData<...>'.

44 components: [container, row1],
6 replies
DIAdiscord.js - Imagine an app
Created by nobody on 4/4/2023 in #djs-voice
getVoiceConnection return undefined?
error the object me doesn't have voice
7 replies
DIAdiscord.js - Imagine an app
Created by nobody on 4/4/2023 in #djs-voice
getVoiceConnection return undefined?
I already try it
7 replies
DIAdiscord.js - Imagine an app
Created by nobody on 4/4/2023 in #djs-voice
getVoiceConnection return undefined?
discord.js@14.9.0 and node v19.6.1
7 replies