[Core] Improve regionalformat docstrings (#5055)

* [Docs] Update regionalformat docs

* [Core] Improve regionalformat docstrings
This commit is contained in:
Kreusada 2021-05-19 15:47:29 +01:00 committed by GitHub
parent e124ae3c11
commit 439033ea28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -2736,7 +2736,7 @@ set globalregionalformat
**Description**
Changes bot's regional format. This is used for formatting date, time and numbers.
Changes the bot's regional format. This is used for formatting date, time and numbers.
``language_code`` can be any language code with country code included, e.g. ``en-US``, ``de-DE``, ``fr-FR``, ``pl-PL``, etc.
Leave ``language_code`` empty to base regional formatting on bot's locale.
@ -3055,7 +3055,7 @@ set regionalformat
**Description**
Changes bot's regional format in this server. This is used for formatting date, time and numbers.
Changes the bot's regional format in this server. This is used for formatting date, time and numbers.
``language_code`` can be any language code with country code included, e.g. ``en-US``, ``de-DE``, ``fr-FR``, ``pl-PL``, etc.
Leave ``language_code`` empty to base regional formatting on bot's locale in this server.

View File

@ -2789,7 +2789,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
@checks.is_owner()
async def globalregionalformat(self, ctx: commands.Context, language_code: str = None):
"""
Changes bot's regional format. This is used for formatting date, time and numbers.
Changes the bot's regional format. This is used for formatting date, time and numbers.
`language_code` can be any language code with country code included, e.g. `en-US`, `de-DE`, `fr-FR`, `pl-PL`, etc.
Leave `language_code` empty to base regional formatting on bot's locale.
@ -2831,7 +2831,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
@checks.guildowner_or_permissions(manage_guild=True)
async def regionalformat(self, ctx: commands.Context, language_code: str = None):
"""
Changes bot's regional format in this server. This is used for formatting date, time and numbers.
Changes the bot's regional format in this server. This is used for formatting date, time and numbers.
`language_code` can be any language code with country code included, e.g. `en-US`, `de-DE`, `fr-FR`, `pl-PL`, etc.
Leave `language_code` empty to base regional formatting on bot's locale in this server.