nvm to this too
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Failing after 5s

This commit is contained in:
Lee 2024-07-04 17:56:56 +01:00
parent cd9563f77e
commit 9be80a0f7e

@ -139,15 +139,4 @@ public class RoleListener implements EventListener {
.build()) .build())
.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());
}
} }