aboutsummaryrefslogtreecommitdiff
path: root/discord/ext
diff options
context:
space:
mode:
Diffstat (limited to 'discord/ext')
-rw-r--r--discord/ext/commands/context.py2
-rw-r--r--discord/ext/commands/converter.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py
index 0f3c546e..c5367c24 100644
--- a/discord/ext/commands/context.py
+++ b/discord/ext/commands/context.py
@@ -143,7 +143,7 @@ class Context(discord.abc.Messageable):
ret = await command.callback(*arguments, **kwargs)
return ret
- async def reinvoke(self, *, call_hooks=False, restart=True):
+ async def reinvoke(self, *, call_hooks: bool = False, restart: bool = True):
"""|coro|
Calls the command again.
diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py
index 14dd5659..d1b9a901 100644
--- a/discord/ext/commands/converter.py
+++ b/discord/ext/commands/converter.py
@@ -782,7 +782,7 @@ class clean_content(Converter[str]):
.. versionadded:: 1.7
"""
- def __init__(self, *, fix_channel_mentions=False, use_nicknames=True, escape_markdown=False, remove_markdown=False):
+ def __init__(self, *, fix_channel_mentions: bool = False, use_nicknames: bool = True, escape_markdown: bool = False, remove_markdown: bool = False) -> None:
self.fix_channel_mentions = fix_channel_mentions
self.use_nicknames = use_nicknames
self.escape_markdown = escape_markdown