Change reply to respond

This commit is contained in:
tfa
2022-09-07 08:45:01 +02:00
parent 30e671f309
commit cc16e95ee8

View File

@@ -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()