forked from Fascinated/Bat
nvm to this too
This commit is contained in:
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());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user