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)