From d38ebd372cee83a6a1775424fda5143e821836ee Mon Sep 17 00:00:00 2001 From: Nemunaire Date: Tue, 22 Apr 2014 17:23:03 +0200 Subject: [PATCH] DDG module: add examples on !ud commands --- modules/ddg/UrbanDictionnary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ddg/UrbanDictionnary.py b/modules/ddg/UrbanDictionnary.py index e3fd13f..904669c 100644 --- a/modules/ddg/UrbanDictionnary.py +++ b/modules/ddg/UrbanDictionnary.py @@ -22,6 +22,6 @@ class UrbanDictionnary: def definitions(self): if self.udres and "list" in self.udres: for d in self.udres["list"]: - yield d["definition"] + yield d["definition"] + "\n" + d["example"] else: yield "Sorry, no definition found for %s" % self.terms