From e7b9232020ab618588c3e107ac583ebb06560583 Mon Sep 17 00:00:00 2001 From: Sijis Aviles Date: Fri, 23 May 2025 01:52:03 -0700 Subject: [PATCH 1/2] fix: update message that plugin config must be a single line --- errbot/core_plugins/plugins.py | 2 +- tests/commands_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/errbot/core_plugins/plugins.py b/errbot/core_plugins/plugins.py index 9f09e54e7..b20388213 100644 --- a/errbot/core_plugins/plugins.py +++ b/errbot/core_plugins/plugins.py @@ -167,7 +167,7 @@ def plugin_config(self, _, args): if len(args) == 1: response = ( - f"Default configuration for this plugin (you can copy and paste this directly as a command):" + f"Default configuration for this plugin (you can copy and paste this directly as a single line command):" f"\n\n```\n{self._bot.prefix}plugin config {plugin_name} {pformat(template_obj)}\n```" ) diff --git a/tests/commands_test.py b/tests/commands_test.py index 202349c88..5a111d0de 100644 --- a/tests/commands_test.py +++ b/tests/commands_test.py @@ -75,7 +75,7 @@ def test_config_cycle(testbot): testbot.push_message("!plugin config Webserver") m = testbot.pop_message() assert ( - "Default configuration for this plugin (you can copy and paste this directly as a command)" + "Default configuration for this plugin (you can copy and paste this directly as a single line command)" in m ) assert "Current configuration" not in m From 2d600b649348181d9cce15e33e6fdd13c3b7004b Mon Sep 17 00:00:00 2001 From: Sijis Aviles Date: Fri, 23 May 2025 23:59:52 -0700 Subject: [PATCH 2/2] docs: add info to CHANGES --- CHANGES.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.rst b/CHANGES.rst index 0c7da366d..905e392f8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -23,6 +23,7 @@ fixes: - chore: update errbot-backend-slackv3 version to 0.3.1 (#1725) - fix: Close and join thread pools between tests (#1724) - fix: type hints (#1698) +- fix: update plugin config message (#1727) v6.2.0 (2024-01-01)