grook
grook
DIAdiscord.js - Imagine an app
Created by grook on 11/12/2023 in #djs-questions
crate discord bot
What’s create-discord-bot ?
5 replies
DIAdiscord.js - Imagine an app
Created by grook on 8/14/2023 in #djs-questions
SlashCommand Naming
Hello, I’m trying to add a sub command named "allowAdminBypass" im getting thrown an error saying it doesn’t pass the regex validator. I checked the regex on the discord’s official docs and found that the naming should be working. Tell me if I’m missing something, if not I’ll gladly open a PR
3 replies
DIAdiscord.js - Imagine an app
Created by grook on 8/8/2023 in #djs-questions
Slash Command Permission
Hello, I'm trying to set guild permissions to some of my slash commands but I am confused to why it's asking me for a bearer token and how do I obtain one.
3 replies
DIAdiscord.js - Imagine an app
Created by grook on 9/1/2022 in #djs-questions
AutoComplete attachements?
Is it possible to propose autocomplete butt with attachements ? Autocomplete or choices.
17 replies
DIAdiscord.js - Imagine an app
Created by grook on 8/9/2022 in #djs-questions
ChatInputCommandInteraction.awaitModalSubmit() has a required time property in its options
Is it normal that the options of ChatInputCommandInteraction.awaitModalSubmit() require the time field?
6 replies
DIAdiscord.js - Imagine an app
Created by grook on 8/8/2022 in #djs-questions
ActionRowBuilder not working properly
I basically follow the guide with buttons but for some reason it throws an error. (see picture) Let me know if I did something wrong. Error:
No overload matches this call.
Overload 1 of 2, '(options: InteractionReplyOptions & { fetchReply: true; }): Promise<Message<boolean>>', gave the following error.
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIActionRowComponent<APIMessageActionRowComponent> | JSONEncodable<APIActionRowComponent<APIMessageActionRowComponent>> | ActionRowData<...>'.
Property 'type' is missing in type 'ActionRowBuilder<AnyComponentBuilder>' but required in type 'ActionRowData<MessageActionRowComponentBuilder | MessageActionRowComponentData>'.
Overload 2 of 2, '(options: string | InteractionReplyOptions | MessagePayload): Promise<InteractionResponse<boolean>>', gave the following error.
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIActionRowComponent<APIMessageActionRowComponent> | JSONEncodable<APIActionRowComponent<APIMessageActionRowComponent>> | ActionRowData<...>'.ts(2769)
No overload matches this call.
Overload 1 of 2, '(options: InteractionReplyOptions & { fetchReply: true; }): Promise<Message<boolean>>', gave the following error.
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIActionRowComponent<APIMessageActionRowComponent> | JSONEncodable<APIActionRowComponent<APIMessageActionRowComponent>> | ActionRowData<...>'.
Property 'type' is missing in type 'ActionRowBuilder<AnyComponentBuilder>' but required in type 'ActionRowData<MessageActionRowComponentBuilder | MessageActionRowComponentData>'.
Overload 2 of 2, '(options: string | InteractionReplyOptions | MessagePayload): Promise<InteractionResponse<boolean>>', gave the following error.
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIActionRowComponent<APIMessageActionRowComponent> | JSONEncodable<APIActionRowComponent<APIMessageActionRowComponent>> | ActionRowData<...>'.ts(2769)
13 replies
DIAdiscord.js - Imagine an app
Created by grook on 7/10/2022 in #djs-questions
Get the embed of a link
10 replies
DIAdiscord.js - Imagine an app
Created by grook on 7/6/2022 in #djs-questions
what is Guild.setOwner()
I was looking around in the docs and I saw this. Is it a troll?
6 replies