fix(aurora): fixed broken help formatting

This commit is contained in:
Seaswimmer 2024-03-08 14:21:26 -05:00
parent f4efcb8ea5
commit 3b5932bac9
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -1683,7 +1683,9 @@ class Aurora(commands.Cog):
@aurora.command(aliases=["tdc", "td", "timedeltaconvert"]) @aurora.command(aliases=["tdc", "td", "timedeltaconvert"])
async def timedelta(self, ctx: commands.Context, *, duration: str) -> None: async def timedelta(self, ctx: commands.Context, *, duration: str) -> None:
"""This command converts a duration to a [`timedelta`](https://docs.python.org/3/library/datetime.html#datetime.timedelta) Python object. """Convert a string to a timedelta.
This command converts a duration to a [`timedelta`](https://docs.python.org/3/library/datetime.html#datetime.timedelta) Python object.
You cannot convert years or months as they are not fixed units. Use `[p]aurora relativedelta` for that. You cannot convert years or months as they are not fixed units. Use `[p]aurora relativedelta` for that.
**Example usage** **Example usage**
@ -1697,7 +1699,9 @@ class Aurora(commands.Cog):
@aurora.command(aliases=["rdc", "rd", "relativedeltaconvert"]) @aurora.command(aliases=["rdc", "rd", "relativedeltaconvert"])
async def relativedelta(self, ctx: commands.Context, *, duration: str) -> None: async def relativedelta(self, ctx: commands.Context, *, duration: str) -> None:
"""This command converts a duration to a [`relativedelta`](https://dateutil.readthedocs.io/en/stable/relativedelta.html) Python object. """Convert a string to a relativedelta.
This command converts a duration to a [`relativedelta`](https://dateutil.readthedocs.io/en/stable/relativedelta.html) Python object.
**Example usage** **Example usage**
`[p]aurora relativedelta 3 years 1 day 15hr 82 minutes 52s` `[p]aurora relativedelta 3 years 1 day 15hr 82 minutes 52s`