From 12d6b3c23f9213928eed3e0dc86cc8bcfb0e34b6 Mon Sep 17 00:00:00 2001 From: BFlow Date: Sat, 25 Apr 2020 19:40:43 +0200 Subject: [PATCH] =?UTF-8?q?correction=20n=C2=B03=20command=20say?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 9b8df26..c4b37c1 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -291,7 +291,7 @@ class Mybot(commands.Cog): @commands.dm_only() @commands.command(help="Faire dire des choses au bot") async def say(self, ctx, *message): - sentence = ''.join(message) + sentence = ' '.join(message) channel = [x for x in self.bot.get_all_channels() if x.name == "général"][0] await channel.send(sentence)