Updated commentary

pull/8/head
sgoudham 4 years ago
parent faacbab3e4
commit e2f76a6662

@ -606,7 +606,7 @@ class Moderation(Cog):
@Cog.listener()
async def on_message_edit(self, before, after):
"""Logging Member Message Updates"""
"""Logging Message Edits (Within Cache)"""
# Get the channel within the cache
channel = get_modlog_for_guild(str(after.guild.id))
@ -658,6 +658,10 @@ class Moderation(Cog):
await modlogs_channel.send(embed=embed)
@Cog.listener()
async def on_message_delete(self, message):
"""Logging Message Deletions (Within Cache)"""
def setup(bot):
bot.add_cog(Moderation(bot))

Loading…
Cancel
Save