From 07f814c7d7fcd37734277049bf2f620c0c6488eb Mon Sep 17 00:00:00 2001 From: BFlow Date: Thu, 9 Apr 2020 16:43:20 +0200 Subject: [PATCH] =?UTF-8?q?correction=20N=C2=B02=20command=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kabot/kabot/kabot.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 0672a39..e94c06c 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -191,6 +191,12 @@ class Mybot(commands.Cog): response = "Unknow error, try: !kaamelott [livre] [character]" 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) async def play_next(self): if self.sounds: