From 982566ee00d39b926d8b4d03c995efffb87fa798 Mon Sep 17 00:00:00 2001 From: dece Date: Sun, 12 Dec 2021 18:30:51 +0100 Subject: [PATCH] ambience: use all words from content as target --- edmond/plugins/ambience.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edmond/plugins/ambience.py b/edmond/plugins/ambience.py index f63d065..c336129 100644 --- a/edmond/plugins/ambience.py +++ b/edmond/plugins/ambience.py @@ -38,7 +38,7 @@ class AmbiencePlugin(Plugin): contents = self.command.content.split() self.bot.log_d(f"{contents}") if len(contents) == 2 and contents[0] == self.config["target_word"]: - target = contents[1] + target = " ".join(contents[1:]) self.bot.log_d(f"{target}") self.bot.say(event.target, self.get_reply(event, target=target)) return True