Skip to content

fix: update message that plugin config must be a single line #1727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion errbot/core_plugins/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -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```"
)

Expand Down
2 changes: 1 addition & 1 deletion tests/commands_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down