From 8bb5a46f24473a8df50d8d6db3c0d09fcb31a00a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl?= Date: Mon, 12 Jun 2017 20:10:59 -0400 Subject: [PATCH] Fix clock title --- cogs/utility.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/utility.py b/cogs/utility.py index 02bcf9b..a6b35dd 100644 --- a/cogs/utility.py +++ b/cogs/utility.py @@ -83,7 +83,7 @@ class Utility: await self.bot.say(embed=em) else: tt = utc.strftime(form) - em = discord.Embed(title='Heure à ' + args[1].title(), description="A [{}]({}) {}, Il est **{}** ! \n {} \n _source des images et du texte : [Wikimedia foundation](http://commons.wikimedia.org/)_".format(str(args), site, str(country), str(tt), str(description)), colour=0xEEEEEE) + em = discord.Embed(title='Heure à ' + args.title(), description="A [{}]({}) {}, Il est **{}** ! \n {} \n _source des images et du texte : [Wikimedia foundation](http://commons.wikimedia.org/)_".format(str(args), site, str(country), str(tt), str(description)), colour=0xEEEEEE) em.set_thumbnail(url = img) await self.bot.say(embed=em) except UnboundLocalError: