fix log title

This commit is contained in:
Lee 2024-07-10 10:42:19 +01:00
parent d6175b3f92
commit f5c31195da

@ -161,7 +161,7 @@ public class ChannelListener implements EventListener {
String target = event.getPermissionOverride().isRoleOverride() ? event.getPermissionOverride().getRole().getAsMention() String target = event.getPermissionOverride().isRoleOverride() ? event.getPermissionOverride().getRole().getAsMention()
: event.getPermissionOverride().getMember().getAsMention(); : event.getPermissionOverride().getMember().getAsMention();
DescriptionBuilder description = new DescriptionBuilder("Channel permissions updated") DescriptionBuilder description = new DescriptionBuilder("Channel Permissions Ipdated")
.appendLine("Channel: %s".formatted(event.getChannel().getAsMention()), true) .appendLine("Channel: %s".formatted(event.getChannel().getAsMention()), true)
.appendLine("%s: %s".formatted( .appendLine("%s: %s".formatted(
event.getPermissionOverride().isRoleOverride() ? "Role" : "Member", event.getPermissionOverride().isRoleOverride() ? "Role" : "Member",