Removing an event

pull/9/head
sgoudham 4 years ago
parent 027010e903
commit b8f6c8e255

@ -907,9 +907,15 @@ class Moderation(Cog):
# TODO: REMEMBER TO TRY AND LOG CHANNEL OVERWRITES
@Cog.listener()
def setup(bot):
bot.add_cog(Moderation(bot))
"""
@Cog.listener()
async def on_guild_update(self, before, after):
"""Logging guild updates"""
Logging guild updates
if modlogs := self.bot.get_modlog_for_guild(after.guild.id):
modlogs_channel = self.bot.get_channel(modlogs)
@ -919,13 +925,6 @@ class Moderation(Cog):
or before.afk_channel != after.afk.channel:
pass
def setup(bot):
bot.add_cog(Moderation(bot))
"""
@Cog.listener()
async def on_guild_integrations_update(self, guild):
Logging updates to integrations

Loading…
Cancel
Save