aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/logging.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/bot/cogs/logging.py b/bot/cogs/logging.py
index 56107ee27..e8912c38f 100644
--- a/bot/cogs/logging.py
+++ b/bot/cogs/logging.py
@@ -1,5 +1,4 @@
# coding=utf-8
-from discord import Message
from discord.ext.commands import AutoShardedBot
from bot.constants import DEVLOG_CHANNEL
@@ -15,19 +14,8 @@ class Logging:
async def on_ready(self):
print("Connected!")
-
await self.bot.get_channel(DEVLOG_CHANNEL).send("Connected!")
- async def on_message(self, message: Message):
- if not message.guild: # It's a DM
- print(f"DM: @{message.author.name}#{message.author.discriminator} -> {message.clean_content}")
- else:
- print(
- f"{message.guild.name} | #{message.channel.name} | "
- f"@{message.author.name}#{message.author.discriminator} -> "
- f"{message.clean_content}"
- )
-
def setup(bot):
bot.add_cog(Logging(bot))