Help cmd fix
This commit is contained in:
parent
6e6136f731
commit
459405e815
2 changed files with 4 additions and 4 deletions
|
@ -60,10 +60,11 @@ class Basics(commands.Cog):
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def help(self, ctx):
|
async def help(self, ctx):
|
||||||
"""Affiches l'aide du bot"""
|
"""Affiches l'aide du bot"""
|
||||||
text = open('texts/help.md').read()
|
text = open('texts/help.md').read().split("[split]")
|
||||||
em = discord.Embed(title='Commandes de TuxBot', description=text,
|
for txt in text:
|
||||||
|
em = discord.Embed(title='Commandes de TuxBot', description=txt,
|
||||||
colour=0x89C4F9)
|
colour=0x89C4F9)
|
||||||
await ctx.send(embed=em)
|
await ctx.send(embed=em)
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
pymysql
|
pymysql
|
||||||
gtts
|
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
lxml==4.2.4
|
lxml==4.2.4
|
||||||
bs4
|
bs4
|
||||||
|
|
Loading…
Reference in a new issue