fix: sanitize native command names for Telegram API (#19257)
Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: b608be348888505b23bb4b2f1c8c42058a28e64e Co-authored-by: akramcodez <[email protected]> Co-authored-by: obviyus <[email protected]> Reviewed-by: @obviyus
This commit is contained in:
co-authored by
akramcodez
obviyus
parent
20a561224c
commit
c4e9bb3b99
@@ -100,5 +100,7 @@ export function syncTelegramMenuCommands(params: {
|
||||
});
|
||||
};
|
||||
|
||||
void sync().catch(() => {});
|
||||
void sync().catch((err) => {
|
||||
runtime.error?.(`Telegram command sync failed: ${String(err)}`);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user