From 90ecfb09ea60d853715b11883ed139494dd546a6 Mon Sep 17 00:00:00 2001 From: ks123 Date: Wed, 11 Mar 2020 17:07:11 +0200 Subject: (Space Cog): Added information about when date is not specified to `.space apod` command docstring --- bot/seasons/evergreen/space.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bot') 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 -- cgit v1.2.3