Kbone22
Kbone22
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
Issue with Duplicate Commands When Bot Is Added to Another Server
Thanks Alottt Mann , You saved me Today
33 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
Issue with Duplicate Commands When Bot Is Added to Another Server
Thanks Alot G
33 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
Issue with Duplicate Commands When Bot Is Added to Another Server
True Man cuz that's the only issue even i can think of
33 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
Issue with Duplicate Commands When Bot Is Added to Another Server
No description
33 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
Issue with Duplicate Commands When Bot Is Added to Another Server
ahhhhhhhh is see
33 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
Issue with Duplicate Commands When Bot Is Added to Another Server
I usually deploy commands on linode but i used do it in my pc (i made sure im using other env variables)
33 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
Issue with Duplicate Commands When Bot Is Added to Another Server
By “duplicate global commands,” I mean that when someone from the admin server uses the “Add to Server” option to add the bot to their server, the new server ends up seeing: 1. The global commands appearing twice. 2. The admin commands (which should be exclusive to the admin server) also showing up in the new server.
33 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
Issue with Duplicate Commands When Bot Is Added to Another Server
Thanks for clarifying! That makes sense about rest.put essentially replacing all commands with the ones I pass. I realize now I might be overcomplicating things with the cleanup calls. To answer your questions: 1. Yes, this is the only place where I deploy commands. 2. No, I’m not deploying commands on guild join or in any other place. This script is run manually to deploy or update commands. However, the issue I’m facing is that when someone from the admin server invites the bot to their own server using the “Add to Server” option: • They end up with duplicate global commands. • They also get admin-specific commands in their server, which shouldn’t happen. Could it be something with how permissions or command scopes are being handled when the bot is invited from the admin server? Or am I missing something in my deployment process?
33 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
Issue with Duplicate Commands When Bot Is Added to Another Server
IDK what im doing man , im just mad that im getting duplicate commands and just doing whatever that works with help of ai
33 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
How to limit visibililty of Slash Commands
okay thanks alot
6 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
How to limit visibililty of Slash Commands
Assuming I've set the special commands to be visible only in the support server, what happens if a user adds the bot from my support server to their server using the 'add app' option? Would the special commands become accessible in their server as well?
6 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/17/2025 in #djs-questions
How to limit visibililty of Slash Commands
6 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/15/2025 in #djs-questions
Global Commands are not registering
That's so helpful, Thanks a ton
12 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/15/2025 in #djs-questions
Global Commands are not registering
ohh ok thankss
12 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/15/2025 in #djs-questions
Global Commands are not registering
Deploying 30 global commands...
{
global: false,
method: 'PUT',
url: 'https://discord.com/api/v10/applications/1313744581938786364/commands',
route: '/applications/:id/commands',
majorParameter: 'global',
hash: 'Global(PUT:/applications/:id/commands)',
limit: 2,
timeToReset: 34494,
retryAfter: 34494,
sublimitTimeout: 0,
scope: 'user'
}
Deploying 30 global commands...
{
global: false,
method: 'PUT',
url: 'https://discord.com/api/v10/applications/1313744581938786364/commands',
route: '/applications/:id/commands',
majorParameter: 'global',
hash: 'Global(PUT:/applications/:id/commands)',
limit: 2,
timeToReset: 34494,
retryAfter: 34494,
sublimitTimeout: 0,
scope: 'user'
}
i did some changes but yeah iam doing them frequently
12 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/15/2025 in #djs-questions
Global Commands are not registering
i will add this this.rest.on('rateLimited', console.log) and see what happen
12 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/15/2025 in #djs-questions
Global Commands are not registering
yeah it's not moving past - deploying x global commands
12 replies
DIdiscord.js - Imagine ❄
Created by Kbone22 on 1/15/2025 in #djs-questions
Global Commands are not registering
"discord.js": "^14.16.3",
12 replies