NotBilly
NotBilly
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
yep... thanks for the rubberducking 😄
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
No description
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
oh... you may have helped me already
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
client.on('interactionCreate', function(interaction:BaseCommandInteraction) {

if (!interaction.isCommand() && !interaction.isAutocomplete()
&& !interaction.isChatInputCommand()) {
return;
}

var command = createCommand(interaction);
universe.setComponents(universe.createEntity(), command, interaction);
});
client.on('interactionCreate', function(interaction:BaseCommandInteraction) {

if (!interaction.isCommand() && !interaction.isAutocomplete()
&& !interaction.isChatInputCommand()) {
return;
}

var command = createCommand(interaction);
universe.setComponents(universe.createEntity(), command, interaction);
});
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
my old project is using [email protected]
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
like i create a command via json
{
"name": "faq",
"is_public": true,
"description": "Get or create a quote that can be recalled at anytime by using either the id or the name",
"params": [
{
"name": "question",
"description": "Search for a question to retrieve the answer",
"type":"string",
"autocomplete": true,
"required": true
}
]
}
{
"name": "faq",
"is_public": true,
"description": "Get or create a quote that can be recalled at anytime by using either the id or the name",
"params": [
{
"name": "question",
"description": "Search for a question to retrieve the answer",
"type":"string",
"autocomplete": true,
"required": true
}
]
}
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
I've wrapped the lib
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
what part is relevant here? I'm not using js/ts directly but my code works on older discordjs. I can narrow the code down with a bit more info
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
I should receive an event when typing, no?
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
[email protected] node: v22.6.0
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
I'm not necessarily expecting any data just yet, I just expect the code to trigger the log
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
in the older discordjs's this works fine
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
I have trace(interaction.isAutocomplete()); in code, but I never get any data whilst typing
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
here's what happens
22 replies
DIAdiscord.js - Imagine an app
Created by NotBilly on 8/8/2024 in #djs-questions
Not getting autocomplete info
No description
22 replies