From 586cbc3d87ab2f708cefa4548bbbf299f55fb1d7 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Tue, 28 Jul 2020 14:31:03 +0200 Subject: [PATCH] :sparkles: !log command --- Gwendolyn.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gwendolyn.py b/Gwendolyn.py index a8f9253..574c35c 100644 --- a/Gwendolyn.py +++ b/Gwendolyn.py @@ -47,6 +47,10 @@ async def on_message(message): await message.channel.send(embed = em) except: await message.channel.send("Couldn't find help for that command") + + # Logs whatever you write in the message + if message.content.lower().startswith("!log "): + funcs.logThis(message.content.lower().replace("!log ","")) # Stops the bot elif message.content.lower().startswith("!stop"):