diff options
author | 2020-03-11 17:07:11 +0200 | |
---|---|---|
committer | 2020-03-11 17:07:11 +0200 | |
commit | 90ecfb09ea60d853715b11883ed139494dd546a6 (patch) | |
tree | 0c14009dc196e191af20829f9403f31557495876 | |
parent | (Space Cog): Added rovers aliases to `.space mars dates` command (diff) |
(Space Cog): Added information about when date is not specified to `.space apod` command docstring
-rw-r--r-- | bot/seasons/evergreen/space.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/space.py b/bot/seasons/evergreen/space.py index a840e022..cc66f84a 100644 --- a/bot/seasons/evergreen/space.py +++ b/bot/seasons/evergreen/space.py @@ -64,7 +64,11 @@ class Space(Cog): @space.command(name="apod") async def apod(self, ctx: Context, date: Optional[str] = None) -> None: - """Get Astronomy Picture of Day from NASA API. Date is optional parameter, what formatting is YYYY-MM-DD.""" + """ + Get Astronomy Picture of Day from NASA API. Date is optional parameter, what formatting is YYYY-MM-DD. + + If date is not specified, this will get today APOD. + """ # Make copy of parameters params = APOD_DEFAULT_PARAMS.copy() # Parse date to params, when provided. Show error message when invalid formatting |