b00bs
b00bs
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
and I did what we originally said thanks guys
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
my life is gonna be so sexy
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
I cant wait to port to typescript
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
appreciate it
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
I was hoping to avoid that but oh well Ill suffer 💔
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
okay bro thank you
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
was just typign something similar
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
apparently i cant spell
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
yuck
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
I cannot stand having cluttered files, so imagine like 8 commands in one file
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
Yeah
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
so im wondering, how can I create a group i can use across multiple files?
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
the error of course stemming from the .setName()
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
now, using this in another file results in the error:
[0] [@bot] [ERROR]DiscordAPIError[50035]: Invalid Form Body
[0] 3[APPLICATION_COMMANDS_DUPLICATE_NAME]: Application command names must be unique
[0] [@bot] [ERROR]DiscordAPIError[50035]: Invalid Form Body
[0] 3[APPLICATION_COMMANDS_DUPLICATE_NAME]: Application command names must be unique
27 replies
DIAdiscord.js - Imagine an app
Created by b00bs on 2/2/2025 in #djs-questions
Grouped slash commands
export default {
data: new SlashCommandBuilder()
.setName('mod')
.setDescription('Kick or ban a user from the server')
.addSubcommand(subcommand =>
subcommand
.setName('ban')
.setDescription('Bans the given user from the guild')
.addUserOption(option =>
option
.setName('target')
.setDescription('The user to ban')
)
)
export default {
data: new SlashCommandBuilder()
.setName('mod')
.setDescription('Kick or ban a user from the server')
.addSubcommand(subcommand =>
subcommand
.setName('ban')
.setDescription('Bans the given user from the guild')
.addUserOption(option =>
option
.setName('target')
.setDescription('The user to ban')
)
)
27 replies