diff options
author | mathieui <mathieui@mathieui.net> | 2021-03-20 21:01:09 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-04-02 17:44:36 +0200 |
commit | 9ab0d250f4c1a7c9d525518076973c8f42bf8a70 (patch) | |
tree | 620790e4404706e180516e84cf6e6dfe0b844345 /poezio/tabs/basetabs.py | |
parent | 71ee1b85aa83131ab782bf48d619a5ff8f68d413 (diff) | |
download | poezio-9ab0d250f4c1a7c9d525518076973c8f42bf8a70.tar.gz poezio-9ab0d250f4c1a7c9d525518076973c8f42bf8a70.tar.bz2 poezio-9ab0d250f4c1a7c9d525518076973c8f42bf8a70.tar.xz poezio-9ab0d250f4c1a7c9d525518076973c8f42bf8a70.zip |
fix: uniformize command_say signature
Diffstat (limited to 'poezio/tabs/basetabs.py')
-rw-r--r-- | poezio/tabs/basetabs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index fee54adb..564de62d 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -808,7 +808,7 @@ class ChatTab(Tab): self.state = 'scrolled' @command_args_parser.raw - def command_say(self, line, correct=False): + def command_say(self, line: str, attention: bool = False, correct: bool = False): pass def goto_build_lines(self, new_date): @@ -1063,7 +1063,7 @@ class OneToOneTab(ChatTab): msg.send() @command_args_parser.raw - def command_say(self, line, correct=False, attention=False): + def command_say(self, line: str, attention: bool = False, correct: bool = False): pass @command_args_parser.ignored |