Don't log chat message anymore
This commit is contained in:
parent
8ff719f01e
commit
ffcbfd3d3f
1 changed files with 3 additions and 4 deletions
|
@ -16,9 +16,8 @@ class Bot(commands.Bot):
|
|||
if message.echo: # Messages with echo set to True are messages sent by the bot
|
||||
return
|
||||
|
||||
# Print the contents of our message to console
|
||||
if not message.content.startswith(self.keys["PREFIX"]):
|
||||
print(f"{message.author.name}: {message.content}")
|
||||
# if not message.content.startswith(self.keys["PREFIX"]):
|
||||
# print(f"{message.author.name}: {message.content}")
|
||||
|
||||
await self.handle_commands(message) # Let the bot know we want to handle and invoke our commands
|
||||
|
||||
|
|
Loading…
Reference in a new issue