diff options
| author | 2021-03-11 12:24:49 -0500 | |
|---|---|---|
| committer | 2021-03-11 12:24:49 -0500 | |
| commit | 1cd9c7a4f74834d799bfc706f5f28cb4147fa0ff (patch) | |
| tree | 4b54cc75f5ae9059cfd546c3eeb3e75d8cd36def /bot/exts/evergreen/movie.py | |
| parent | Merge pull request #619 from JagTheFriend/master (diff) | |
change ctx.send_help to ctx.invoke(help_command)
;
Diffstat (limited to 'bot/exts/evergreen/movie.py')
| -rw-r--r-- | bot/exts/evergreen/movie.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/evergreen/movie.py b/bot/exts/evergreen/movie.py index 340a5724..238ab038 100644 --- a/bot/exts/evergreen/movie.py +++ b/bot/exts/evergreen/movie.py @@ -73,7 +73,8 @@ class Movie(Cog): try: result = await self.get_movies_list(self.http_session, MovieGenres[genre].value, 1) except KeyError: - await ctx.send_help('movies') + help_command = self.bot.get_command("help") + await ctx.invoke(help_command, ctx.command.name) return # Check if "results" is in result. If not, throw error. |