Skip to content

Commit 5448c7c

Browse files
committed
fix: update message that plugin config must be a single line
1 parent 47603b8 commit 5448c7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

errbot/core_plugins/plugins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def plugin_config(self, _, args):
167167

168168
if len(args) == 1:
169169
response = (
170-
f"Default configuration for this plugin (you can copy and paste this directly as a command):"
170+
f"Default configuration for this plugin (you can copy and paste this directly as a command in a single line):"
171171
f"\n\n```\n{self._bot.prefix}plugin config {plugin_name} {pformat(template_obj)}\n```"
172172
)
173173

tests/commands_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_config_cycle(testbot):
7575
testbot.push_message("!plugin config Webserver")
7676
m = testbot.pop_message()
7777
assert (
78-
"Default configuration for this plugin (you can copy and paste this directly as a command)"
78+
"Default configuration for this plugin (you can copy and paste this directly as a command in a single line)"
7979
in m
8080
)
8181
assert "Current configuration" not in m

0 commit comments

Comments
 (0)