!log command

This commit is contained in:
NikolajDanger
2020-07-28 14:31:03 +02:00
parent e7234ee1b1
commit 586cbc3d87

View File

@@ -48,6 +48,10 @@ async def on_message(message):
except: except:
await message.channel.send("Couldn't find help for that command") 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 # Stops the bot
elif message.content.lower().startswith("!stop"): elif message.content.lower().startswith("!stop"):
if message.author.display_name == "Nikolaj": if message.author.display_name == "Nikolaj":