Change reply to respond
This commit is contained in:
@@ -28,12 +28,12 @@ class ChefMou(Plugin):
|
|||||||
s = soup.findAll('th', background='/fond3.gif')
|
s = soup.findAll('th', background='/fond3.gif')
|
||||||
if not pattern:
|
if not pattern:
|
||||||
ps = random.choice(s)
|
ps = random.choice(s)
|
||||||
await evt.reply(ps.text)
|
await evt.respond(ps.text)
|
||||||
else:
|
else:
|
||||||
if pattern == "morceau":
|
if pattern == "morceau":
|
||||||
ps = random.choice(s)
|
ps = random.choice(s)
|
||||||
await evt.reply(ps.text)
|
await evt.respond(ps.text)
|
||||||
else:
|
else:
|
||||||
await evt.reply("Nope !")
|
await evt.respond("Nope !")
|
||||||
loop.close()
|
loop.close()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user