diff options
author | 2020-03-07 14:33:24 +0200 | |
---|---|---|
committer | 2020-03-07 14:33:24 +0200 | |
commit | 2d95e9bbc588ccc4fb5e811134f8faf9e3de4e9f (patch) | |
tree | ad460939617343f22bde6f0150b6256744accd40 | |
parent | (Space Cog): Created head command `.space` and added all other commands under it (diff) |
(Space Cog): Renamed `.space earth` command to `.space epic` for upcoming new command.
-rw-r--r-- | bot/seasons/evergreen/space.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/seasons/evergreen/space.py b/bot/seasons/evergreen/space.py index b3d61d2b..9ccd1b47 100644 --- a/bot/seasons/evergreen/space.py +++ b/bot/seasons/evergreen/space.py @@ -79,9 +79,9 @@ class Space(Cog): await ctx.send(embed=embed) - @space.command(name="earth") - async def earth(self, ctx: Context) -> None: - """Get one of latest random image of earth from NASA API.""" + @space.command(name="epic") + async def epic(self, ctx: Context) -> None: + """Get one of latest random image of earth from NASA EPIC API.""" # Generate URL and make request to API async with self.http_session.get(url=f"{NASA_EPIC_BASE_URL}/api/natural") as resp: data = await resp.json() |