mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 01:40:15 +08:00
The _collect_and_register_commands method was iterating over star_handlers_registry twice: once via collect_commands() and again in a redundant second loop. This caused the same commands to be registered to the Discord client twice, resulting in "Application command names must be unique" errors during sync_commands(). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>