From b393b2849cc38986109ceabe2501919c12487859 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sat, 12 Mar 2016 13:08:55 +0100 Subject: [PATCH] Demander "link" ou "url" marche aussi bien que "display" --- parrot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parrot.py b/parrot.py index c948dfe..ae7adb9 100755 --- a/parrot.py +++ b/parrot.py @@ -425,7 +425,7 @@ class Parrot(ircbot.SingleServerIRCBot): self.dump(asked_by=auteur, asked_where=canal) elif cmd in [u"restore"] and auteur in self.overops: self.restore(asked_by=auteur, asked_where=canal) - elif cmd in [u"display"]: + elif cmd in [u"display", u"link", u"url"]: self.serv.privmsg(canal, "%s: %s" % (auteur, config.quote_display_url.encode("utf-8"))) else: # Vu que ce bot est prévu pour parser des quotes il va falloir bosser ici -- 2.39.2