aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/seasons/evergreen/space.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/evergreen/space.py b/bot/seasons/evergreen/space.py
index df15d7a4..746849fb 100644
--- a/bot/seasons/evergreen/space.py
+++ b/bot/seasons/evergreen/space.py
@@ -23,10 +23,10 @@ APOD_DEFAULT_PARAMS = {
class DateConverter(Converter):
- """Parse `str` into `datetime` or `int` object."""
+ """Parse SOL or earth date (in format YYYY-MM-DD) into `int` or `datetime`. When invalid input, raise error."""
async def convert(self, ctx: Context, argument: str) -> Union[int, datetime]:
- """Parse `str` into `datetime` or `int`. When invalid value, raise error."""
+ """Parse date (SOL or earth) into `datetime` or `int`. When invalid value, raise error."""
if argument.isdigit():
return int(argument)
try: