Making sure bot updates are not logged

pull/9/head
sgoudham 4 years ago
parent 3c2eaf5082
commit 376dfe4a37

@ -563,7 +563,7 @@ class Moderation(Cog):
modlogs_channel = self.bot.get_channel(modlogs) modlogs_channel = self.bot.get_channel(modlogs)
# Logging Nickname Updates # Logging Nickname Updates
if before.nick != after.nick or before.status != after.status or before.activity != after.activity: if before.nick != after.nick or before.status != after.status or before.activity != after.activity and not before.bot:
# Getting emoji of status from dict # Getting emoji of status from dict
for key, value in member_status.items(): for key, value in member_status.items():

Loading…
Cancel
Save