Files
AstrBot/astrbot/core
lightjunction 999ce123a7 fix(discord): remove duplicate command registration loop
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>
2026-03-23 15:29:06 +08:00
..
2026-03-23 13:15:35 +08:00
2026-03-22 22:44:05 +08:00
2026-03-22 22:44:05 +08:00
2026-03-23 13:15:35 +08:00
2026-03-23 13:15:35 +08:00