diff options
author | 2019-09-19 11:09:24 -0700 | |
---|---|---|
committer | 2019-09-19 11:09:24 -0700 | |
commit | 39e3e1a717cd19a5ef777409f9cafefc3ab18c63 (patch) | |
tree | 8f122320d1deb96d00b402544bd3f5074030a811 | |
parent | Apply suggestions from code review (diff) |
Apply suggestions from code review
Co-Authored-By: Sebastiaan Zeeff <[email protected]>
-rw-r--r-- | bot/cogs/eval.py | 2 | ||||
-rw-r--r-- | bot/cogs/help.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/eval.py b/bot/cogs/eval.py index 017619315..9ce854f2c 100644 --- a/bot/cogs/eval.py +++ b/bot/cogs/eval.py @@ -123,7 +123,7 @@ class CodeEval(Cog): return res # Return (text, embed) - async def _eval(self, ctx: discord.Context, code: str) -> Optional[discord.Message]: + async def _eval(self, ctx: Context, code: str) -> Optional[discord.Message]: """Eval the input code string & send an embed to the invoking context.""" self.ln += 1 diff --git a/bot/cogs/help.py b/bot/cogs/help.py index 63421c8a7..0f2196e46 100644 --- a/bot/cogs/help.py +++ b/bot/cogs/help.py @@ -78,7 +78,7 @@ class HelpSession: Parameters ---------- - ctx: :class:`discord.Context` + ctx: :class:`discord.ext.commands.Context` The context of the invoked help command. *command: str A variable argument of the command being queried. |