diff --git a/event/listeners/log/roleUpdate.js b/event/listeners/log/roleUpdate.js index 45eae9f..bb8a9a4 100644 --- a/event/listeners/log/roleUpdate.js +++ b/event/listeners/log/roleUpdate.js @@ -13,7 +13,7 @@ class roleUpdateListener extends Listener { } async exec(oldRole, newRole) { - if (oldRole === newRole) return; + if (oldRole === newRole || oldRole.rawPosition !== newRole.rawPosition) return; const guild = oldRole.guild; const logStats = await LogStats.findOne({where: {guild: guild.id}}); if (logStats) {