Freed
Freed
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
the commands disappeared again :Thonk:
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
like wtf
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
and just got back the commands
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
create a new bot in the discord portal
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
come back to my original bot
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
Update i tried to remove everything i did
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
after some console.log it looks like this part didn't works
const data = await rest.put(
Routes.applicationGuildCommands("clientid", "servid"),
{ body: publicArray },
);

console.log(`Successfully reloaded ${data.length} application (/) commands.`);
const data = await rest.put(
Routes.applicationGuildCommands("clientid", "servid"),
{ body: publicArray },
);

console.log(`Successfully reloaded ${data.length} application (/) commands.`);
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
i tried to remake this one way of commands handler and it doesnt works too
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
thats what we have in the array for each commands
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
did a console.log to look at it
21.07 22:41:36 [Bot] [
21.07 22:41:36 [Bot] {
21.07 22:41:36 [Bot] options: [ [Object], [Object], [Object] ],
21.07 22:41:36 [Bot] name: 'argent',
21.07 22:41:36 [Bot] name_localizations: undefined,
21.07 22:41:36 [Bot] description: "Configure l'argent d'un joueur",
21.07 22:41:36 [Bot] description_localizations: undefined,
21.07 22:41:36 [Bot] default_permission: undefined,
21.07 22:41:36 [Bot] default_member_permissions: '2048',
21.07 22:41:36 [Bot] dm_permission: false,
21.07 22:41:36 [Bot] nsfw: undefined
21.07 22:41:36 [Bot] },
21.07 22:41:36 [Bot] {
21.07 22:41:36 [Bot] options: [ [Object] ],
21.07 22:41:36 [Bot] name: 'débloquer-rang',
21.07 22:41:36 [Bot] name_localizations: undefined,
21.07 22:41:36 [B

...
21.07 22:41:36 [Bot] [
21.07 22:41:36 [Bot] {
21.07 22:41:36 [Bot] options: [ [Object], [Object], [Object] ],
21.07 22:41:36 [Bot] name: 'argent',
21.07 22:41:36 [Bot] name_localizations: undefined,
21.07 22:41:36 [Bot] description: "Configure l'argent d'un joueur",
21.07 22:41:36 [Bot] description_localizations: undefined,
21.07 22:41:36 [Bot] default_permission: undefined,
21.07 22:41:36 [Bot] default_member_permissions: '2048',
21.07 22:41:36 [Bot] dm_permission: false,
21.07 22:41:36 [Bot] nsfw: undefined
21.07 22:41:36 [Bot] },
21.07 22:41:36 [Bot] {
21.07 22:41:36 [Bot] options: [ [Object] ],
21.07 22:41:36 [Bot] name: 'débloquer-rang',
21.07 22:41:36 [Bot] name_localizations: undefined,
21.07 22:41:36 [B

...
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
yet even after all that the two tickets commands are still showing and working in the other serv
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
ig im just stuck and i cant find why :x
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
the weirdest things that put me in incomprehension, is that it was working just fine, and then it disappeared
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
i did it like 5 time lmao
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
No description
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
i will check
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
yes
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
all commands are showing as up in the console btw
31 replies
DIAdiscord.js - Imagine an app
Created by Freed on 7/21/2024 in #djs-questions
Slash Commands were showing just fine, then they disappeared after a server restart
//const fichesGuild = client.guilds.cache.get(client.config.fichesGuild);
const publicGuild = client.guilds.cache.get(client.config.publicGuild);

//fichesGuild.commands.set(fichesArray);
publicGuild.commands.set(publicArray);
//const fichesGuild = client.guilds.cache.get(client.config.fichesGuild);
const publicGuild = client.guilds.cache.get(client.config.publicGuild);

//fichesGuild.commands.set(fichesArray);
publicGuild.commands.set(publicArray);
tried this, still not working
31 replies