From cc16e95ee88175a1b0e77a1548b70c3388ef8d4c Mon Sep 17 00:00:00 2001 From: tfa Date: Wed, 7 Sep 2022 08:45:01 +0200 Subject: [PATCH] Change reply to respond --- chef_mou.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chef_mou.py b/chef_mou.py index 02739fc..09c20f3 100644 --- a/chef_mou.py +++ b/chef_mou.py @@ -28,12 +28,12 @@ class ChefMou(Plugin): s = soup.findAll('th', background='/fond3.gif') if not pattern: ps = random.choice(s) - await evt.reply(ps.text) + await evt.respond(ps.text) else: if pattern == "morceau": ps = random.choice(s) - await evt.reply(ps.text) + await evt.respond(ps.text) else: - await evt.reply("Nope !") + await evt.respond("Nope !") loop.close()