Help cmd fix

This commit is contained in:
Mael G 2019-07-28 14:57:42 -04:00
parent 6e6136f731
commit 459405e815
2 changed files with 4 additions and 4 deletions

View file

@ -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):

View file

@ -1,5 +1,4 @@
pymysql
gtts
beautifulsoup4
lxml==4.2.4
bs4