correction commmande kamoulox

This commit is contained in:
BFlow 2020-04-09 16:49:08 +02:00
parent 07f814c7d7
commit c93b333b57

View file

@ -194,7 +194,7 @@ class Mybot(commands.Cog):
@commands.command(help="Je menotte une cornemuse et je fume Eddy Malou") @commands.command(help="Je menotte une cornemuse et je fume Eddy Malou")
async def kamoulox(self, ctx): async def kamoulox(self, ctx):
kamoulox_request = requests.get('https://kmlproject.com/Launcher/LKamoulox.php') kamoulox_request = requests.get('https://kmlproject.com/Launcher/LKamoulox.php')
kamoulox_sentence = kamoulox_request.content kamoulox_sentence = kamoulox_request.content.decode('utf-8')
await ctx.send(kamoulox_sentence) await ctx.send(kamoulox_sentence)
@tasks.loop(seconds=1.5) @tasks.loop(seconds=1.5)