Files
AstrBot/astrbot/core
LIghtJUNction dd36913735 fix(discord): resolve 'await' outside async function in collect_commands()
collect_commands() was defined as a sync def but erroneously contained
SDK bridge command registration logic with await sync_commands() inside.
Extract SDK bridge registration into async _register_sdk_commands() and
keep collect_commands() as pure sync (returns command list only).

Also adds missing cast import.
2026-04-08 20:44:12 +08:00
..
2026-04-08 19:45:16 +08:00
2026-04-06 16:39:58 +08:00
2026-04-06 16:39:58 +08:00
2026-03-30 17:07:57 +08:00
2026-04-06 16:39:58 +08:00
2026-04-08 19:45:16 +08:00
2026-04-06 16:39:58 +08:00
2026-04-02 21:23:23 +08:00
2026-04-02 21:23:23 +08:00
2026-04-02 21:23:23 +08:00
2026-04-02 21:23:23 +08:00