mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[Utils] Add humanize_number() function to chat formatting (#2836)
This adds babel as a dependency, and also includes `redbot.core.i18n.get_babel_locale()`
This commit is contained in:
1
changelog.d/2836.feature.rst
Normal file
1
changelog.d/2836.feature.rst
Normal file
@@ -0,0 +1 @@
|
||||
New :func:`humanize_number` in :module:`redbot.core.utils.chat_formatting` function to convert numbers into text which respect locale.
|
||||
1
changelog.d/2836.misc.rst
Normal file
1
changelog.d/2836.misc.rst
Normal file
@@ -0,0 +1 @@
|
||||
New :func:`humanize_number` is used throughout the bot.
|
||||
Reference in New Issue
Block a user