diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 0ab8a18ff..6cbde1d1e 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -16904,7 +16904,7 @@ Script (Python): def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ... # example: allow any command except /exec -rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"}) +rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"}) ---- [[completion]] diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index 2ec5391d1..1fc999a2a 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -17266,7 +17266,7 @@ Script (Python) : def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ... # exemple : autoriser toute commande sauf /exec -rc = weechat.command_options("", "/une_commande paramètres", {"commands": "*,!exec"}) +rc = weechat.command_options("", "/une_commande paramètres", {"commands": "*,!exec", "delay": "2000"}) ---- [[completion]] diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 7ea95e887..8630b3bc6 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -17730,7 +17730,7 @@ Script (Python): def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ... # example: allow any command except /exec -rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"}) +rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"}) ---- // TRANSLATION MISSING diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index 1884a1358..59dd51f93 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -17190,7 +17190,7 @@ rc = weechat_command_options (NULL, "/some_command arguments", options); def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ... # 例: /exec 以外のコマンド実行を許可 -rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"}) +rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"}) ---- // TRANSLATION MISSING diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc index 4e5fe474d..1fed5d316 100644 --- a/doc/sr/weechat_plugin_api.sr.adoc +++ b/doc/sr/weechat_plugin_api.sr.adoc @@ -16449,7 +16449,7 @@ rc = weechat_command_options (NULL, "/some_command arguments", options); def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: ... # пример: дозвољава се било која команда осим /exec -rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"}) +rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"}) ---- [[completion]] diff --git a/src/plugins/python/weechat.pyi b/src/plugins/python/weechat.pyi index 333d50ead..a87aad3e5 100644 --- a/src/plugins/python/weechat.pyi +++ b/src/plugins/python/weechat.pyi @@ -2294,7 +2294,7 @@ def command_options(buffer: str, command: str, options: Dict[str, str]) -> int: :: # example: allow any command except /exec - rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"}) + rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"}) """ ...