From 8083e0a41fa79f8de85ce48828fe8484c3eb1cd0 Mon Sep 17 00:00:00 2001 From: BFlow Date: Sat, 25 Apr 2020 19:37:14 +0200 Subject: [PATCH] correction command say --- kabot/kabot/kabot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 5904349..3dd4084 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -291,9 +291,8 @@ 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) channel = [x for x in self.bot.get_all_channels() if x.name == "général"][0] - await channel.send(sentence) + await channel.send(message) @tasks.loop(seconds=1.5)