From 459405e815a796b87508136fb17c7ad87fe03d94 Mon Sep 17 00:00:00 2001 From: Mael G Date: Sun, 28 Jul 2019 14:57:42 -0400 Subject: [PATCH] Help cmd fix --- cogs/basics.py | 7 ++++--- requirements.txt | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cogs/basics.py b/cogs/basics.py index 26ed442..f61ab16 100755 --- a/cogs/basics.py +++ b/cogs/basics.py @@ -60,10 +60,11 @@ class Basics(commands.Cog): @commands.command() async def help(self, ctx): """Affiches l'aide du bot""" - text = open('texts/help.md').read() - em = discord.Embed(title='Commandes de TuxBot', description=text, + text = open('texts/help.md').read().split("[split]") + for txt in text: + em = discord.Embed(title='Commandes de TuxBot', description=txt, colour=0x89C4F9) - await ctx.send(embed=em) + await ctx.send(embed=em) def setup(bot): diff --git a/requirements.txt b/requirements.txt index d55b962..184fecb 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ pymysql -gtts beautifulsoup4 lxml==4.2.4 bs4