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