Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slash commands do not inject guild locale information #6272

Open
Flame442 opened this issue Nov 30, 2023 · 0 comments
Open

Slash commands do not inject guild locale information #6272

Flame442 opened this issue Nov 30, 2023 · 0 comments
Labels
Category: Core - API - App Commands Package This is related to the `redbot.core.app_commands` package. Status: PRs Welcome No one is currently assigned to this issue, but we'd be grateful if anyone made a PR. Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.

Comments

@Flame442
Copy link
Member

Text commands auto inject the contextual guild into the i18n logic Red uses (bot._i18n_cache I think?). App commands (and hybrids) currently do not do this, and fall back to the global setting. It isn't a huge problem since an explicit set_contextual_locales_from_guild still fixes it, however it would be nice to automatically have it filled in.

@Flame442 Flame442 added Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing. Status: PRs Welcome No one is currently assigned to this issue, but we'd be grateful if anyone made a PR. Category: Core - API - App Commands Package This is related to the `redbot.core.app_commands` package. labels Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Core - API - App Commands Package This is related to the `redbot.core.app_commands` package. Status: PRs Welcome No one is currently assigned to this issue, but we'd be grateful if anyone made a PR. Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
Projects
None yet
Development

No branches or pull requests

1 participant