correction N°2 command issue

This commit is contained in:
BFlow 2020-04-09 16:43:20 +02:00
parent 08df771274
commit 07f814c7d7

View file

@ -191,6 +191,12 @@ class Mybot(commands.Cog):
response = "Unknow error, try: !kaamelott [livre] [character]" response = "Unknow error, try: !kaamelott [livre] [character]"
await ctx.send(response) await ctx.send(response)
@commands.command(help="Je menotte une cornemuse et je fume Eddy Malou")
async def kamoulox(self, ctx):
kamoulox_request = requests.get('https://kmlproject.com/Launcher/LKamoulox.php')
kamoulox_sentence = kamoulox_request.content
await ctx.send(kamoulox_sentence)
@tasks.loop(seconds=1.5) @tasks.loop(seconds=1.5)
async def play_next(self): async def play_next(self):
if self.sounds: if self.sounds: