registerApplicationCommands (like shown in the picture) does that command get registered in a single guild or globally (in development environment)? and if it is registered globally, can I made it so it gets registered in a test guild only when NODE_ENV is dev?
guildIds in the second paramater of registerChatInputCommand, if you set it to an empty array or undefined then they're still global so just do a simple ternary check of process.env.NODE_ENV === 'development' ? 'myguildid' : undefined or leverage the same in Globally configuring guildIds if you want it to count for all commands