entropy
entropy
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by entropy on 9/5/2023 in #djs-questions
Global commands push cause dev/local commands guild to have duplicates
Hello, I'm currently trying to setup a system where in development I run local commands, but for production I global deploy. The problem is that my dev/local commands guild ends up with duplicates of each command. I read in the discord documentation that the put route should overwrite any commands with the same name, but this seems to only apply within each scope. So if do local deploy it overwrites, but if I then global push it creates new ones within the dev/local guild. If anyone has a solution to this it would be much appreciated! deployCommands.ts: https://codefile.io/f/InFuvMpf1h
8 replies