Cog-Creators / Red-DiscordBot

A multi-function Discord bot
https://docs.discord.red
GNU General Public License v3.0
4.84k stars 2.31k forks source link

fix for KeyError when you Set your bot to use de-DE or es-ES. #6473

Closed kpopdev closed 1 week ago

kpopdev commented 1 week ago

this will fix the https://github.com/Cog-Creators/Red-DiscordBot/issues/6471 issue and key errors.

Have the changes in this PR been tested?

Yes

If the question doesn't apply (for example, it's not a code change), choose Yes.

Please respond to this question truthfully. We do not delay nor reject PRs based on the answer to this question but it allows to better review this PR. -->

Flame442 commented 1 week ago

Thanks for contributing!

Although the referenced issue hasn't been fully triaged, it looks like a dependency issue. Ideally next release would include a dependency bump that causes this issue to be fixed, and manually handling it ourselves would not be needed.

I'm considering this blocked until after the dependency bump PR for a release is confirmed to not have a fix.

Additionally, you are currently failing the style check. Please see the contributing.md file for information about how to run the Black auto formatter on your PR to ensure style compliance.