From 9be80a0f7e5c46031d438d3a52054aa3c48f38fa Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 4 Jul 2024 17:56:56 +0100 Subject: [PATCH] nvm to this too --- .../bat/features/logging/listeners/RoleListener.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/features/logging/listeners/RoleListener.java b/src/main/java/cc/fascinated/bat/features/logging/listeners/RoleListener.java index b80b903..615f088 100644 --- a/src/main/java/cc/fascinated/bat/features/logging/listeners/RoleListener.java +++ b/src/main/java/cc/fascinated/bat/features/logging/listeners/RoleListener.java @@ -139,15 +139,4 @@ public class RoleListener implements EventListener { .build()) .build()); } - - @Override - public void onRoleUpdatePosition(@NonNull BatGuild guild, @NonNull Role role, int oldPosition, int newPosition, @NonNull RoleUpdatePositionEvent event) { - log.info("Role \"{}\" position was updated in guild \"{}\" from \"{}\" to \"{}\"", role.getName(), guild.getName(), oldPosition, newPosition); - logFeature.sendLog(guild, LogType.ROLE_CONFIGURATION, EmbedUtils.successEmbed() - .setDescription(new EmbedDescriptionBuilder("Role Position Updated") - .appendLine("Role: %s".formatted(role.getAsMention()), true) - .appendLine("Position: `%s` -> `%s`".formatted(oldPosition, newPosition), true) - .build()) - .build()); - } }