Commit Graph

2 Commits

Author SHA1 Message Date
Claude Owner
1d383d9a03 feat(prod-commands): wipe dev guild commands before global registration
When `Config.dev` is true, the operator typically registers slash
commands per-guild (Config.guildId) during iteration so they appear
instantly. Once those leak past dev, the same commands show up in
Discord twice — once from the dev guild registration and once from
the global registration.

Before doing the global PUT, also PUT an empty array against the
dev guild so any stale per-guild commands are cleared. Behavior in
production (Config.dev=false) is unchanged.
2026-05-27 10:20:41 +09:00
d6b36c43c2 기존 2026-05-26 14:15:09 +09:00