Type up **kwargs of various methods
This commit is contained in:
@ -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.
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user